CloudEventWithContextHandler typedef

CloudEventWithContextHandler = FutureOr<void> Function(CloudEvent request, RequestContext context)

The shape of a handler for CloudEvent types while also providing a RequestContext.

Implementation

typedef CloudEventWithContextHandler = FutureOr<void> Function(
  CloudEvent request,
  RequestContext context,
);