AwakeableHandle
interface AwakeableHandle
This class represents a handle to an Awakeable. It can be used to complete awakeables from the ingress
Functions
Link copied to clipboard
Same as reject but async.
abstract fun rejectAsync(reason: String, options: RequestOptions): CompletableFuture<Response<Void>>
Same as reject but async with options.
Link copied to clipboard
Link copied to clipboard
open fun <T> resolveAsync(serde: TypeTag<T>, @NonNull payload: @NonNull T): CompletableFuture<Response<Void>>
open fun <T> resolveAsync(clazz: Class<T>, @NonNull payload: @NonNull T): CompletableFuture<Response<Void>>
Same as resolve but async.
abstract fun <T> resolveAsync(serde: TypeTag<T>, @NonNull payload: @NonNull T, options: RequestOptions): CompletableFuture<Response<Void>>
open fun <T> resolveAsync(clazz: Class<T>, @NonNull payload: @NonNull T, options: RequestOptions): CompletableFuture<Response<Void>>
Same as resolve but async with options.