invoke method

  1. @override
Future<RunOutput> invoke(
  1. RunInput input, {
  2. RunnableOptions? options,
})
override

Invokes the Runnable on the given input.

  • input - the input to invoke the Runnable on.
  • options - the options to use when invoking the Runnable.

Implementation

@override
Future<RunOutput> invoke(
  final RunInput input, {
  final RunnableOptions? options,
}) async {
  final runnable = await router.call(input, options);
  return runnable.invoke(input, options: options);
}