invoke method

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

Invokes the RunnableMapInputStream on the given input.

Implementation

@override
Future<RunOutput> invoke(
  final RunInput input, {
  final RunnableOptions? options,
}) {
  return streamFromInputStream(Stream.value(input), options: options).first;
}