- call(Callable<TResult>, Executor) - Static method in class bolts.Task
-
Invokes the callable using the given executor, returning a Task to represent the operation.
- call(Callable<TResult>, Executor, CancellationToken) - Static method in class bolts.Task
-
Invokes the callable using the given executor, returning a Task to represent the operation.
- call(Callable<TResult>) - Static method in class bolts.Task
-
Invokes the callable on the current thread, producing a Task.
- call(Callable<TResult>, CancellationToken) - Static method in class bolts.Task
-
Invokes the callable on the current thread, producing a Task.
- callInBackground(Callable<TResult>) - Static method in class bolts.Task
-
Invokes the callable on a background thread, returning a Task to represent the operation.
- callInBackground(Callable<TResult>, CancellationToken) - Static method in class bolts.Task
-
Invokes the callable on a background thread, returning a Task to represent the operation.
- cancel() - Method in class bolts.CancellationTokenSource
-
Cancels the token if it has not already been cancelled.
- cancelAfter(long) - Method in class bolts.CancellationTokenSource
-
Schedules a cancel operation on this CancellationTokenSource
after the specified number of milliseconds.
- CancellationToken - Class in bolts
-
Propagates notification that operations should be canceled.
- CancellationTokenRegistration - Class in bolts
-
- CancellationTokenSource - Class in bolts
-
- CancellationTokenSource() - Constructor for class bolts.CancellationTokenSource
-
Create a new CancellationTokenSource
.
- cancelled() - Static method in class bolts.Task
-
Creates a cancelled task.
- Capture<T> - Class in bolts
-
Provides a class that can be used for capturing variables in an anonymous class implementation.
- Capture() - Constructor for class bolts.Capture
-
- Capture(T) - Constructor for class bolts.Capture
-
- cast() - Method in class bolts.Task
-
Makes a fluent cast of a Task's result possible, avoiding an extra continuation just to cast
the type of the result.
- close() - Method in class bolts.CancellationTokenRegistration
-
Unregisters the callback runnable from the cancellation token.
- close() - Method in class bolts.CancellationTokenSource
-
- Continuation<TTaskResult,TContinuationResult> - Interface in bolts
-
A function to be called after a task completes.
- continueWhile(Callable<Boolean>, Continuation<Void, Task<Void>>) - Method in class bolts.Task
-
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is
a task continuation.
- continueWhile(Callable<Boolean>, Continuation<Void, Task<Void>>, CancellationToken) - Method in class bolts.Task
-
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is
a task continuation.
- continueWhile(Callable<Boolean>, Continuation<Void, Task<Void>>, Executor) - Method in class bolts.Task
-
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is
a task continuation.
- continueWhile(Callable<Boolean>, Continuation<Void, Task<Void>>, Executor, CancellationToken) - Method in class bolts.Task
-
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is
a task continuation.
- continueWith(Continuation<TResult, TContinuationResult>, Executor) - Method in class bolts.Task
-
Adds a continuation that will be scheduled using the executor, returning a new task that
completes after the continuation has finished running.
- continueWith(Continuation<TResult, TContinuationResult>, Executor, CancellationToken) - Method in class bolts.Task
-
Adds a continuation that will be scheduled using the executor, returning a new task that
completes after the continuation has finished running.
- continueWith(Continuation<TResult, TContinuationResult>) - Method in class bolts.Task
-
Adds a synchronous continuation to this task, returning a new task that completes after the
continuation has finished running.
- continueWith(Continuation<TResult, TContinuationResult>, CancellationToken) - Method in class bolts.Task
-
Adds a synchronous continuation to this task, returning a new task that completes after the
continuation has finished running.
- continueWithTask(Continuation<TResult, Task<TContinuationResult>>, Executor) - Method in class bolts.Task
-
Adds an Task-based continuation to this task that will be scheduled using the executor,
returning a new task that completes after the task returned by the continuation has completed.
- continueWithTask(Continuation<TResult, Task<TContinuationResult>>, Executor, CancellationToken) - Method in class bolts.Task
-
Adds an Task-based continuation to this task that will be scheduled using the executor,
returning a new task that completes after the task returned by the continuation has completed.
- continueWithTask(Continuation<TResult, Task<TContinuationResult>>) - Method in class bolts.Task
-
Adds an asynchronous continuation to this task, returning a new task that completes after the
task returned by the continuation has completed.
- continueWithTask(Continuation<TResult, Task<TContinuationResult>>, CancellationToken) - Method in class bolts.Task
-
Adds an asynchronous continuation to this task, returning a new task that completes after the
task returned by the continuation has completed.
- create() - Static method in class bolts.Task
-
Deprecated.
Please use bolts.TaskCompletionSource()
instead.