@dxos/app-framework - v0.15.0
    Preparing search index...

    Interface Contributions<T>

    Live, reactive view over all contributions to a multi capability. The collection is not a barrier: entries may be added or removed as plugins are enabled/disabled — consume reactively.

    interface Contributions<T> {
        atom: Atom<T[]>;
        get(): readonly T[];
        subscribe(cb: (values: readonly T[]) => void): () => void;
    }

    Type Parameters

    • T
    Index

    Properties

    Methods

    Properties

    atom: Atom<T[]>

    Reactive atom of the current contributions, for Atom-based composition (e.g. a reactive OperationHandlerSet). The manager memoizes one atom per capability, so this is the same instance atom returns for the same capability.

    Methods