Skip to main content

Module services

Module services 

Source
Expand description

Process services that must initialize before a window or reactive tree exists.

Optional parts register initializers at link time. Initializers run on the native startup thread once per process and must return promptly. They may register OS callbacks; they must not access UI signals or mount widgets. Android services can initialize this registry after attaching the JVM without starting an Activity.

Structs§

Service
A process initializer supplied by an optional part.

Enums§

NotificationEvent
Native notification delivery before or after a window exists. Handlers must return promptly and use a main-thread setter to update UI state. Payloads are JSON from the platform.

Statics§

NOTIFICATION_HANDLERS
SERVICES

Functions§

initialize
Initialize linked process services. A native host calls this after its runtime is ready.
notification
Forward a native delegate callback to linked optional parts.