shouldLaunch method

Future<bool> shouldLaunch(
  1. ExecutionContext context
)
inherited

Returns true if this event can launch, otherwise false.

Implementation

Future<bool> shouldLaunch(ExecutionContext context) async =>
    await precondition?.call(context) ?? true;