World all

Import interface hermes:init/api

Interface to Hermes runtime control flow.

Permissions

This API is ONLY Available to Integration Tests and is not normally exposed.


Functions

done: func

Perform Hermes event queue shutdown.

Params
  • status-code: u8

Export interface hermes:init/event


Functions

init: func

Perform application start up initialization.

This will only ever be called once when the application this module is a part of is started. The module must export this interface to use it.

Returns:

  • true - Initialization is successful, the application may commence.
  • false - Fatal error during Initialization. DO NOT START APPLICATION.
Return values
  • bool