@prismshadow/penguin-server · packages/server/src/plugin/views.ts:42

MachineDial

interface

No JSDoc comment in source yet.

API

@Interface()
export abstract class MachineDial {
  abstract proxyTarget(machineId: string): Promise<ProxyTarget | null>;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Useconsumed by (1)

Members (1)

proxyTarget

proxyTarget(machineId: string): Promise<ProxyTarget | null>

A dial to the machine's server through the connection held to it; null when it is not connected.

@parammachineIdstring
@returnsPromise<ProxyTarget | null>