Skip to main content

Interface: PublishPacer<E>

A generic class for injecting pacing logic into a publisher.

Type parameters

NameType
Eextends EventTypes

Methods

canPublish

canPublish<K>(topic, data): boolean

Type parameters

NameType
Kextends string | number | symbol

Parameters

NameType
topicK
dataE[K]

Returns

boolean

Defined in

src/sdk/data/EventBusPacer.ts:9