HandlerGenerator<T extends Function> typedef

HandlerGenerator<T extends Function> = T Function(HandlerTrigger trigger)

Signature of the callback passed to DataSource.handler.

The callback should return a function of type T. That function should call trigger.

See DataSource.handler for details.

Implementation

typedef HandlerGenerator<T extends Function> = T Function(HandlerTrigger trigger);