callback library

Properties

emptyCallback VoidCallback
An empty function that can be used in assigning default values for Callback.
no setter
emptyParameterizedCallback ParameterizedVoidCallback<Object?>
An empty parameterized function that can be used in assigning default values for ParameterizedCallback.
no setter

Typedefs

Callback<OUTPUT extends Object?> = OUTPUT Function()
Example:
ParameterizedCallback<INPUT extends Object?, OUTPUT extends Object?> = OUTPUT Function(INPUT input)
Example:
ParameterizedVoidCallback<INPUT extends Object?> = void Function(INPUT input)
Example:
VoidCallback = void Function()
Example: