PairInterfaceSplit<InterfaceType extends PairInterface> extension
Splitting utilities for a PairInterface.
The returned endpoint types allow module constructors and registration helpers to require a provider or consumer at compile time. Existing PairInterface APIs remain available when a dynamic role is needed.
- on
-
- InterfaceType
Methods
-
split(
) → (PairProvider< InterfaceType> , PairConsumer<InterfaceType> ) -
Available on InterfaceType, provided by the PairInterfaceSplit extension
Returns typed provider and consumer endpoints for this interface.