SystemListenerInput
interfaceFields accepted by `system.on(...)`.
Import
import { SystemListenerInput } from '@modular/sdk';Members5
- event
stringWhich of that source's events to listen for.
- handle
SystemListenerHandler<TPayload>Runs on every occurrence.
- id
stringIdentifier, unique within the mod.
- source
`system.${string}`Which host source to listen to, for example `'system.power'`.
- title
stringLabel shown where the host lists active subscriptions.
Notes
- category
- State