Method: Webhookdb::Replicator::Base#process_webhooks_synchronously?
- Defined in:
- lib/webhookdb/replicator/base.rb
#process_webhooks_synchronously? ⇒ Boolean
Return true if the service should process webhooks in the actual endpoint, rather than asynchronously through the job system. This should ONLY be used where we have important order-of-operations in webhook processing and/or need to return data to the webhook sender.
NOTE: You MUST implement synchronous_processing_response_body if this returns true.
56 57 58 |
# File 'lib/webhookdb/replicator/base.rb', line 56 def process_webhooks_synchronously? return false end |