Skip to content

attachBackground

attachBackground<TTier, TLimit>(client, options?): void

Defined in: webext.ts:69

Call synchronously at the top level of the background entry, so the listeners are already wired before the service worker is woken by a message.

TTier extends string

TLimit

ActivationClient<TTier, TLimit>

AttachBackgroundOptions<TTier, TLimit> = {}

void