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.
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 aMapfor 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 ofMapenumeration. Build entries with bindCapability, which is the only type-safe way to pair aPluginCapability<T>with aT.