Documentation
    Preparing search index...

    Interface PluginCapabilityBinding

    One capability and the value a host provides for it.

    RFC 0002 spells the constructor argument PluginCapabilityMap; it ships as an ordered list rather than a Map for a reason §33 cares about: the order capabilities were provided in is the order PluginContext.capabilities reports, and a list makes that a property of the value rather than of Map enumeration. Build entries with bindCapability, which is the only type-safe way to pair a PluginCapability<T> with a T.

    interface PluginCapabilityBinding {
        capability: PluginCapability<unknown>;
        value: unknown;
    }
    Index
    capability: PluginCapability<unknown>
    value: unknown