ProjectEvents: the mechanism ProjectNotifier implements — a user-level event to everyone who can see a Project, its owner and its members with GET /api/events open. The runtime publishes a Session's state flips and its generated title this way, and a route publishes a change the list could not otherwise learn of (a rename, a new Session).
API
@Interface()
export abstract class ProjectEvents {
abstract notifyProjectUsers(projectId: string, event: ServerEvent): void;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (1)
notifyProjectUsers
notifyProjectUsers(projectId: string, event: ServerEvent): void@paramprojectId
string@paramevent
ServerEvent@returns
void