public static T WaitFor<T>( Func<T> logic )
Public Shared Function WaitFor(Of T) ( _ logic As Func(Of T) _ ) As T
public: generic<typename T> static T WaitFor( Func<T>^ logic )