addPairProviderPorts<InterfaceType extends PairInterface> method
- PairProvider<
InterfaceType> source, { - String uniquify(
- String original
inherited
Registers a provider source endpoint and returns its internal clone.
This is the type-safe equivalent of addPairInterfacePorts with
PairRole.provider. Module logic must use the returned clone rather than
the interface wrapped by source.
Implementation
InterfaceType addPairProviderPorts<InterfaceType extends PairInterface>(
PairProvider<InterfaceType> source, {
String Function(String original)? uniquify,
}) =>
addPairInterfacePorts(
source.interface,
PairRole.provider,
uniquify: uniquify,
);