onInput<TInput extends Object> abstract method
Registers a handler to be invoked whenever an input of type TInput
is received.
Implementation
void onInput<TInput extends Object>(InputCallback<TInput> handler);