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(RunInput input, {RunnableOptions? options}) async {
  return retryClient(
    options: retryOptions,
    fn: () => runnable.invoke(input, options: options),
  );
}