added ThreadlessFlow.Wait(T) method