vapor-chamber API reference - v1.3.0
    Preparing search index...

    Interface Chamber

    interface Chamber {
        namespace: string;
        install(bus: BaseBus): () => void;
        actionName(shortName: string): string;
    }
    Index

    Methods

    Properties

    Methods

    • Install all handlers on a bus. Returns uninstall function.

      Parameters

      Returns () => void

    • Get the prefixed action name (e.g. 'add' → 'cartAdd').

      Parameters

      • shortName: string

      Returns string

    Properties

    namespace: string

    Namespace prefix (e.g. 'cart').