Function preparePortAllocator
- preparePortAllocator(zone, powers): ((...args: [{
protocol: Protocol;
}]) => Guarded<{
allocateCustomIBCPort(specifiedName?: string): Promise<Vow<Port>>;
allocateCustomLocalPort(specifiedName?: string): Promise<Vow<Port>>;
allocateICAControllerPort(): Promise<Vow<Port>>;
allocateICQControllerPort(): Promise<Vow<Port>>;
}>) Returns ((...args: [{
protocol: Protocol;
}]) => Guarded<{
allocateCustomIBCPort(specifiedName?: string): Promise<Vow<Port>>;
allocateCustomLocalPort(specifiedName?: string): Promise<Vow<Port>>;
allocateICAControllerPort(): Promise<Vow<Port>>;
allocateICQControllerPort(): Promise<Vow<Port>>;
}>)
- (...args): Guarded<{
allocateCustomIBCPort(specifiedName?: string): Promise<Vow<Port>>;
allocateCustomLocalPort(specifiedName?: string): Promise<Vow<Port>>;
allocateICAControllerPort(): Promise<Vow<Port>>;
allocateICQControllerPort(): Promise<Vow<Port>>;
}> Returns Guarded<{
allocateCustomIBCPort(specifiedName?: string): Promise<Vow<Port>>;
allocateCustomLocalPort(specifiedName?: string): Promise<Vow<Port>>;
allocateICAControllerPort(): Promise<Vow<Port>>;
allocateICQControllerPort(): Promise<Vow<Port>>;
}>