Interface Sandbox

Connects the modules to the outside world. A facade of the core.

Index

Properties

_extensionsOnlyCore

_extensionsOnlyCore: Readonly<Core>

A reference to the core. It should be used only by extensions.

instanceId

instanceId: Readonly<string>

Instance id of the module that it serves for.

moduleId

moduleId: Readonly<string>

Id of the module that it serves for.

Methods

publishAsync

  • publishAsync<T>(message: T): void

startModule

stopModule

  • stopModule(id: string, instanceId?: string): void
  • Parameters

    • id: string
    • Optional instanceId: string

    Returns void