Class WebhookDispatcher
Webhook dispatcher. Manages the background thread for dispatching webhook calls. Self-destructs when the queue is empty for a few seconds. ParallelConsumerQueue<T>
Namespace: SuperOffice.CRM.Webhooks
Assembly: SoDataBase.dll
Syntax
[SoInject("Database")]
public class WebhookDispatcher : Object
Methods
Enqueue(WebhookTaskInfo)
Webhook dispatcher. Manages the background thread for dispatching webhook calls. Self-destructs when the queue is empty for a few seconds. ParallelConsumerQueue<T>
Declaration
public void Enqueue(WebhookTaskInfo info)
Parameters
Type | Name | Description |
---|---|---|
WebhookTaskInfo | info |
WaitForWebhooksToComplete()
Wait for queue to empty
Declaration
public void WaitForWebhooksToComplete()
Extension Methods
EnumUtil.MapEnums<From, To>(From)