Share via


ExecutorCompletionService.Take Method

Definition

Retrieves and removes the Future representing the next completed task, waiting if none are yet present.

[Android.Runtime.Register("take", "()Ljava/util/concurrent/Future;", "GetTakeHandler")]
public virtual Java.Util.Concurrent.IFuture? Take ();
[<Android.Runtime.Register("take", "()Ljava/util/concurrent/Future;", "GetTakeHandler")>]
abstract member Take : unit -> Java.Util.Concurrent.IFuture
override this.Take : unit -> Java.Util.Concurrent.IFuture

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.

Applies to