Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BoltsFramework/Bolts-Java
/ functions
Functions
63 in github.com/BoltsFramework/Bolts-Java
⨍
Functions
63
◇
Types & classes
6
↓ 29 callers
Method
isCompleted
@return {@code true} if the task completed (has a result, an error, or was cancelled. {@code false} otherwise.
Bolts/src/bolts/Task.java:112
↓ 24 callers
Method
isFaulted
@return {@code true} if the task has an error, {@code false} otherwise.
Bolts/src/bolts/Task.java:130
↓ 23 callers
Method
isCancelled
@return {@code true} if the task was cancelled, {@code false} otherwise.
Bolts/src/bolts/Task.java:121
↓ 17 callers
Method
getError
@return The error for the task, if set. {@code null} otherwise.
Bolts/src/bolts/Task.java:148
↓ 16 callers
Method
continueWith
Adds a continuation that will be scheduled using the executor, returning a new task that completes after the continuation has finished running. This a
Bolts/src/bolts/Task.java:336
↓ 14 callers
Method
forResult
Creates a completed task with the given value.
Bolts/src/bolts/Task.java:168
↓ 13 callers
Method
get
()
Bolts/src/bolts/Capture.java:27
↓ 12 callers
Method
getResult
@return The result of the task, if set. {@code null} otherwise.
Bolts/src/bolts/Task.java:139
↓ 10 callers
Method
callInBackground
Invokes the callable on a background thread using the default thread pool, returning a Task to represent the operation.
Bolts/src/bolts/Task.java:223
↓ 9 callers
Method
runTaskTest
(Callable<Task<?>> callable)
BoltsTest/src/bolts/TaskTest.java:25
↓ 8 callers
Method
cancelled
Creates a cancelled task with the given error.
Bolts/src/bolts/Task.java:186
↓ 8 callers
Method
continueWithTask
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
Bolts/src/bolts/Task.java:370
↓ 8 callers
Method
create
Creates a TaskCompletionSource that orchestrates a Task. This allows the creator of a task to be solely responsible for its completion. @return A new
Bolts/src/bolts/Task.java:103
↓ 8 callers
Method
getTask
@return the Task associated with this TaskCompletionSource.
Bolts/src/bolts/Task.java:562
↓ 7 callers
Method
forError
Creates a faulted task with the given error.
Bolts/src/bolts/Task.java:177
↓ 7 callers
Method
setError
Sets the error of the Task, throwing if the Task has already been completed.
Bolts/src/bolts/Task.java:635
↓ 7 callers
Method
setResult
Sets the result of the Task, throwing if the Task has already been completed.
Bolts/src/bolts/Task.java:626
↓ 5 callers
Method
onSuccessTask
Runs a continuation when a task completes successfully, forwarding along errors or cancellation.
Bolts/src/bolts/Task.java:432
↓ 4 callers
Method
set
(T value)
Bolts/src/bolts/Capture.java:31
↓ 4 callers
Method
setCancelled
Sets the cancelled flag on the task, throwing if the Task has already been completed.
Bolts/src/bolts/Task.java:617
↓ 4 callers
Method
waitForCompletion
Blocks until the task is complete.
Bolts/src/bolts/Task.java:157
↓ 4 callers
Method
whenAll
Creates a task that completes when all of the provided tasks are complete.
Bolts/src/bolts/Task.java:254
↓ 3 callers
Method
call
Invokes the callable using the given executor, returning a Task to represent the operation.
Bolts/src/bolts/Task.java:230
↓ 3 callers
Method
execute
(Runnable command)
Bolts/src/bolts/Task.java:73
↓ 3 callers
Method
getErrors
Returns the list of errors that this exception encapsulates.
Bolts/src/bolts/AggregateException.java:31
↓ 3 callers
Method
onSuccess
Runs a continuation when a task completes successfully, forwarding along errors or cancellation.
Bolts/src/bolts/Task.java:404
↓ 3 callers
Method
runContinuations
()
Bolts/src/bolts/Task.java:534
↓ 3 callers
Method
then
(Task<TTaskResult> task)
Bolts/src/bolts/Continuation.java:17
↓ 2 callers
Method
completeAfterTask
Handles the async (i.e. the continuation does return a Task) continuation case, passing the results of the given Task through to the given continuatio
Bolts/src/bolts/Task.java:503
↓ 2 callers
Method
completeImmediately
Handles the non-async (i.e. the continuation doesn't return a Task) continuation case, passing the results of the given Task through to the given cont
Bolts/src/bolts/Task.java:471
↓ 2 callers
Method
continueWhile
Continues a task with the equivalent of a Task-based while loop, where the body of the loop is a task continuation.
Bolts/src/bolts/Task.java:306
↓ 1 callers
Method
call
()
BoltsTest/src/bolts/TaskTest.java:123
↓ 1 callers
Method
decrementDepth
Decrements the depth. @return the new depth value.
Bolts/src/bolts/Task.java:59
↓ 1 callers
Method
incrementDepth
Increments the depth. @return the new depth value.
Bolts/src/bolts/Task.java:44
↓ 1 callers
Method
makeVoid
Turns a Task<T> into a Task<Void>, dropping any result.
Bolts/src/bolts/Task.java:205
↓ 1 callers
Method
run
()
Bolts/src/bolts/Task.java:233
↓ 1 callers
Method
trySetCancelled
Sets the cancelled flag on the Task if the Task hasn't already been completed.
Bolts/src/bolts/Task.java:569
↓ 1 callers
Method
trySetError
Sets the error on the Task if the Task hasn't already been completed.
Bolts/src/bolts/Task.java:601
↓ 1 callers
Method
trySetResult
Sets the result on the Task if the Task hasn't already been completed.
Bolts/src/bolts/Task.java:585
Method
AggregateException
(List<Exception> errors)
Bolts/src/bolts/AggregateException.java:22
Method
Capture
()
Bolts/src/bolts/Capture.java:20
Method
Task
()
Bolts/src/bolts/Task.java:93
Method
TaskCompletionSource
()
Bolts/src/bolts/Task.java:556
Method
cast
Makes a fluent cast of a Task's result possible, avoiding an extra continuation just to cast the type of the result.
Bolts/src/bolts/Task.java:196
Method
testAsyncChaining
()
BoltsTest/src/bolts/TaskTest.java:355
Method
testBackgroundCall
()
BoltsTest/src/bolts/TaskTest.java:121
Method
testBackgroundCallWaitOnCancellation
()
BoltsTest/src/bolts/TaskTest.java:163
Method
testBackgroundCallWaiting
()
BoltsTest/src/bolts/TaskTest.java:139
Method
testBackgroundCallWaitingOnError
()
BoltsTest/src/bolts/TaskTest.java:151
Method
testBackgroundError
()
BoltsTest/src/bolts/TaskTest.java:180
Method
testContinueWhile
()
BoltsTest/src/bolts/TaskTest.java:439
Method
testContinueWhileAsync
()
BoltsTest/src/bolts/TaskTest.java:462
Method
testOnSuccess
()
BoltsTest/src/bolts/TaskTest.java:387
Method
testOnSuccessTask
()
BoltsTest/src/bolts/TaskTest.java:413
Method
testPrimitives
()
BoltsTest/src/bolts/TaskTest.java:43
Method
testSynchronousChaining
()
BoltsTest/src/bolts/TaskTest.java:101
Method
testSynchronousContinuation
()
BoltsTest/src/bolts/TaskTest.java:63
Method
testWhenAllCancel
()
BoltsTest/src/bolts/TaskTest.java:314
Method
testWhenAllOneError
()
BoltsTest/src/bolts/TaskTest.java:230
Method
testWhenAllSuccess
()
BoltsTest/src/bolts/TaskTest.java:198
Method
testWhenAllTwoErrors
()
BoltsTest/src/bolts/TaskTest.java:271
Method
then
(Task<Integer> task)
BoltsTest/src/bolts/TaskTest.java:69
Method
then
(Task<TResult> task)
Bolts/src/bolts/Task.java:207