router property

FutureOr<Runnable<RunInput, RunnableOptions, RunOutput>> Function(RunInput input, RunnableOptions? options) router
final

The function that will be called to determine the runnable to use.

Implementation

final FutureOr<Runnable<RunInput, RunnableOptions, RunOutput>> Function(
  RunInput input,
  RunnableOptions? options,
) router;