effectAsync method

AsyncEffectHandle effectAsync(
  1. Future body(
    1. AsyncComputeContext ctx
    )
)

Register an async effect owned by this scope.

Implementation

AsyncEffectHandle effectAsync(
        Future<dynamic> Function(AsyncComputeContext ctx) body) =>
    adopt(ctx.effectAsync(body));