async<T> static method

LevitAsyncState<T> async<T>(
  1. Future<T> builder(
    1. LevitRef ref
    )
)

Creates an asynchronous LevitState definition.

Implementation

static LevitAsyncState<T> async<T>(Future<T> Function(LevitRef ref) builder) {
  return LevitAsyncState<T>(builder);
}