-
Notifications
You must be signed in to change notification settings - Fork 2
queue.QueueServiceContract
Sclable CI edited this page Sep 11, 2024
·
198 revisions
queue.QueueServiceContract
▸ addConsumer<PayloadType>(queueName, consumer): Promise<void>
| Name |
|---|
PayloadType |
| Name | Type |
|---|---|
queueName |
string |
consumer |
(msg: QueueMessage<PayloadType>) => void | Promise<void> |
Promise<void>
packages/queue/src/contracts/queue-service.contract.ts:5
▸ sendMessage<PayloadType>(queueName, payload): Promise<void>
| Name |
|---|
PayloadType |
| Name | Type |
|---|---|
queueName |
string |
payload |
PayloadType |
Promise<void>