Interface: PublishPacer<E>
A generic class for injecting pacing logic into a publisher.
Type parameters
Name | Type |
---|---|
E | extends EventTypes |
Methods
canPublish
▸ canPublish<K
>(topic
, data
): boolean
Type parameters
Name | Type |
---|---|
K | extends string | number | symbol |
Parameters
Name | Type |
---|---|
topic | K |
data | E [K ] |
Returns
boolean
Defined in
src/sdk/data/EventBusPacer.ts:9