computedAsync<T> method

AsyncSlotHandle<T> computedAsync<T>(
  1. Future<T> compute(
    1. AsyncComputeContext ctx
    )
)

Create an async computed slot.

Implementation

AsyncSlotHandle<T> computedAsync<T>(
        Future<T> Function(AsyncComputeContext ctx) compute) =>
    AsyncSlotHandle<T>(this, compute);