Click or drag to resize

Wait Methods

The Wait type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFor(ITask)
Suspend coroutine until another task completes.
Public methodStatic memberFor(ScriptReference)

Use ForEvent(ScriptReference) instead.

Suspend coroutine until a given script event fires.
Public methodStatic memberFor(Double, ITask)
Suspend coroutine until another task completes or there is a timeout.
Public methodStatic memberFor(Double, ScriptReference)

Use ForEvent(Double, ScriptReference) instead.

Suspend coroutine until a given script event fires or there is a timeout.
Public methodStatic memberForAll
Suspend coroutine until all of the supplied tasks to complete. This task will not complete until all the supplied wait tasks complete.
Public methodStatic memberForAnimator
Suspend coroutine until the current animator for a visual completes.
Public methodStatic memberForAny
Suspend coroutine until any of the supplied tasks to complete. As soon as one of the wait tasks completes this task completes.
Public methodStatic memberForEvent(ScriptReference)
Suspend coroutine until a given script event fires.
Public methodStatic memberForEvent(Double, ScriptReference)
Suspend coroutine until the script event fires or a timeout occurs.
Public methodStatic memberForEvent(ScriptReference, ScriptReferenceNativeListenersDelegate)
Suspend coroutine until a given script event fires.
Public methodStatic memberForEventT(ScriptReferenceT, ScriptReferenceTNativeListenersDelegate)
Suspend coroutine until a given script event fires.
Public methodStatic memberForEventT1, T2(ScriptReferenceT1, T2, ScriptReferenceT1, T2NativeListenersDelegate)
Suspend coroutine until a given script event fires.
Public methodStatic memberForEventT1, T2, T3(ScriptReferenceT1, T2, T3, ScriptReferenceT1, T2, T3NativeListenersDelegate)
Suspend coroutine until a given script event fires.
Public methodStatic memberForEventT1, T2, T3, T4(ScriptReferenceT1, T2, T3, T4, ScriptReferenceT1, T2, T3, T4NativeListenersDelegate)
Suspend coroutine until a given script event fires.
Public methodStatic memberForEvents(ScriptReference)
Suspend coroutine until all of the script events fire.
Public methodStatic memberForEvents(Double, ScriptReference)
Suspend coroutine until all of the script events fire or a timeout occurs.
Public methodStatic memberForMove
Suspend coroutine until the current visual move to completes.
Public methodStatic memberForPeekT(IChannelT)
Suspend coroutine until the channel has an element that can be read, but don't read it, just peek.
Public methodStatic memberForPeekT(IChannelT, ResultT)
Suspend coroutine until the channel has an element that can be read, but don't read it, just peek.
Public methodStatic memberForReadT(IChannelT)
Suspend coroutine until the channel has an element that can be read.
Public methodStatic memberForReadT(IChannelT, ResultT)
Suspend coroutine until the channel has an element that can be read.
Public methodStatic memberForSeconds
Suspend coroutine for a given time.
Public methodStatic memberForWriteT
Suspend coroutine until the channel can accept the write.
Public methodStatic memberUntilChanged(FuncObject) Obsolete.
Public methodStatic memberUntilChanged(FuncObject, INotifyPropertyChanged)
Suspend coroutine until the supplied expression changes.
Public methodStatic memberUntilEqualsT(CustomPropertyValueT, T)
Suspend coroutine until a custom property value becomes equal to a given value.
Public methodStatic memberUntilEqualsT(CustomPropertyValueT, CustomPropertyValueT)
Suspend coroutine until a custom property value becomes equal to another custom property value.
Public methodStatic memberUntilFalse(CustomPropertyValueBoolean)
Suspend coroutine until the boolean custom property value becomes false.
Public methodStatic memberUntilFalse(FuncBoolean, INotifyPropertyChanged)
Suspend coroutine until the supplied expression is false.
Public methodStatic memberUntilNotEqualsT(CustomPropertyValueT, T)
Suspend coroutine until a custom property value becomes not equal to a given value.
Public methodStatic memberUntilNotEqualsT(CustomPropertyValueT, CustomPropertyValueT)
Suspend coroutine until a custom property value becomes not equal to another custom property value.
Public methodStatic memberUntilTrue(CustomPropertyValueBoolean)
Suspend coroutine until the boolean custom property value becomes true.
Public methodStatic memberUntilTrue(FuncBoolean) Obsolete.
Public methodStatic memberCode exampleUntilTrue(FuncBoolean, INotifyPropertyChanged)
Suspend coroutine until the supplied expression is true.
Top
See Also