WebPubSubHandler type

type WebPubSubHandler<T> = (
  message: T,
  context: InvocationContext
) => FunctionResult