@prismshadow/penguin-library-plugin · library/plugin/src/ports.ts:44

PluginChannels

interface

The channel hub, as far as plugin-modules reads it: one user's live channel, by user id (the server composes it over its own hub and the user channel key).

API

@Interface()
export abstract class PluginChannels {
  abstract peekUser(userId: string): PluginChannel | undefined;
}

Contract Topology

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

Members (1)

peekUser

peekUser(userId: string): PluginChannel | undefined
@paramuserIdstring
@returnsPluginChannel | undefined