EventAudience beta
TypeAlias of @v12-engine/engine
ts
export type EventAudience<T> = 'everyone' | ((payload: T, view: SessionView) => boolean);Who of the players gets an event of a game's own on their screen (see defineEvent): everyone, or those a function picks, from what the event says and what the seat may know (SessionView: its player, knows, sees)