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

    Type Alias UseSharedCommandStateOptions

    type UseSharedCommandStateOptions = {
        errorCap?: number;
        bus?: CommandBus;
    }
    Index

    Properties

    Properties

    errorCap?: number

    How many recent errors to retain in errors. The list is kept newest-last; older entries drop off. Default: 10.

    Bus to attach to. Defaults to the shared instance from getCommandBus(), which matches the single-bus pattern most apps use. Pass an explicit bus to scope shared state to a feature group / island.