mesa.webhooks.receive(...) verifies and validates an incoming webhook request.
Options
Event name or event names to handle.
Function called with the typed event. It may return
void or a promise.Event names
Supported event names includerepo.created, repo.updated, repo.deleted, bookmark.created, bookmark.deleted, bookmark.moved, bookmark.merged, change.created, change.evolved, push, sync.queued, sync.in_progress, sync.completed, and sync.failed.
Response
Returnsvoid.
Handler errors
Handlers are run duringmesa.webhooks.receive(...). If one or more handlers reject, receive throws an AggregateError after all matching handlers have settled.
