We are interested in techniques that allow us to respond to a webhook immediately, and then performing long running processing tasks at a later technique. These long running processing task can use webhook notifications in their own turn to notify the original poster when the final processing has taken place.
It might be useful to take a concrete wiki based example. Let's take the following sequence of events:
1. Ruby scrape completes 1. Ward POSTs to federation webhook 1. Webhook on Transport Server receives webhook and replies 1. Webhook on Transport Server initiates asynchronous indexing of new sites 1. Webhook on Transport Server notifies Ward with new POST if Ward subscribes to Reply Webhook.
# Shell at
# See also - Wiki Webhook and curl - Ruby Scrape Webhook and Webhook Parameters - Asynchronous Webhook Actions - Transport Server