Uses of Class
org.praxislive.code.userapi.Async
Packages that use Async
-
Uses of Async in org.praxislive.code
Methods in org.praxislive.code that return AsyncModifier and TypeMethodDescriptionCall a Control on a Service.CodeDelegate.ask(ControlAddress destination, Object... args) Call a Control.CodeDelegate.ask(ControlAddress destination, List<Value> args) Call a Control.final <T,R> Async <R> CodeDelegate.async(T input, Async.Task<T, R> task) Run a task asynchronously and outside of the component context.Evaluate a Pcl script, returning an async result.final <T> Async<T> Timeout the provided async after the given time period if it has not already been completed.Methods in org.praxislive.code with parameters of type Async -
Uses of Async in org.praxislive.code.userapi
Methods in org.praxislive.code.userapi that return AsyncModifier and TypeMethodDescriptionAdd an Async to the queue.static <T> Async<T> Async.completed(T value) Create an Async that is already completed with the given value.static <T> Async<T> Async.extractArg(Async<Call> asyncCall, Class<T> type) Create an Async that will complete when the provided async call completes, by extracting the first call argument and attempting to map to the given type.static <T> Async<T> Async.extractArg(Async<Call> asyncCall, Class<T> type, int argIdx) Create an Async that will complete when the provided async call completes, by extracting the indexed call argument and attempting to map to the given type.Async.extractArgs(Async<Call> asyncCall) Create an Async that will complete when the provided async call completes, by extracting the call arguments.static <T> Async<T> Create an Async that is already failed with the given error.Async.Queue.poll()Retrieves and removes the next completed Async, if available.Methods in org.praxislive.code.userapi that return types with arguments of type AsyncModifier and TypeMethodDescriptionAsync.Queue.clear()Clear all Async from the queue.Async.Queue.limit(int size) Limit the queue to the provided size.Methods in org.praxislive.code.userapi with parameters of type AsyncModifier and TypeMethodDescriptionAdd an Async to the queue.static <T> voidBind a target Async to complete when a source Async completes.static <T> Async<T> Async.extractArg(Async<Call> asyncCall, Class<T> type) Create an Async that will complete when the provided async call completes, by extracting the first call argument and attempting to map to the given type.static <T> Async<T> Async.extractArg(Async<Call> asyncCall, Class<T> type, int argIdx) Create an Async that will complete when the provided async call completes, by extracting the indexed call argument and attempting to map to the given type.Async.extractArgs(Async<Call> asyncCall) Create an Async that will complete when the provided async call completes, by extracting the call arguments.booleanRemove the provided Async from the queue.Set the value from completion of the providedAsync.static <T> CompletableFuture<T> Async.toCompletableFuture(Async<T> async) A utility method for linking an Async with aCompletableFuturefor passing to external APIs.Method parameters in org.praxislive.code.userapi with type arguments of type Async -
Uses of Async in org.praxislive.video.code
Methods in org.praxislive.video.code that return AsyncModifier and TypeMethodDescriptionWrite the image as bytes in the specified format.Scale and write the image as bytes in the specified format.