passthrough<RunInput extends Object> static method

Runnable<RunInput, RunnableOptions, RunInput> passthrough<RunInput extends Object>()

Creates a RunnablePassthrough.

A RunnablePassthrough takes the input it receives and passes it through as output.

Implementation

static Runnable<RunInput, RunnableOptions, RunInput>
    passthrough<RunInput extends Object>() {
  return RunnablePassthrough<RunInput>();
}