map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface Activator

    A bundle activator is a optionally provide by a bundle. The app runtime calls the bundle activator when the bundle, that declares it, is started or stopped.

    interface Activator {
        start(bCtx: BundleContext): void | Promise<void>;
        stop(bCtx: BundleContext): void | Promise<void>;
    }
    Index

    Methods

    Methods

    • Called from the app runtime when the bundle is started.

      Parameters

      Returns void | Promise<void>

    • Called from the app runtime when the bundle is stopped.

      Parameters

      Returns void | Promise<void>