AbstractQueuedLongSynchronizer.ConditionObject.Await Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Await() |
Implements interruptible condition wait. |
| Await(Int64, TimeUnit) |
Implements timed condition wait. |
Await()
Implements interruptible condition wait.
[Android.Runtime.Register("await", "()V", "")]
public void Await ();
[<Android.Runtime.Register("await", "()V", "")>]
abstract member Await : unit -> unit
override this.Await : unit -> unit
Implements
- Attributes
Exceptions
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Await(Int64, TimeUnit)
Implements timed condition wait.
[Android.Runtime.Register("await", "(JLjava/util/concurrent/TimeUnit;)Z", "")]
public bool Await (long time, Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register("await", "(JLjava/util/concurrent/TimeUnit;)Z", "")>]
abstract member Await : int64 * Java.Util.Concurrent.TimeUnit -> bool
override this.Await : int64 * Java.Util.Concurrent.TimeUnit -> bool
Parameters
- time
- Int64
the maximum time to wait
- unit
- TimeUnit
the time unit of the time argument
Returns
Implements
- Attributes
Exceptions
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.