Skip to content

@vttforge/core / EmitOptions

Interface: EmitOptions

Properties

self?

readonly optional self?: boolean

Run the handler on this client as well. Default true, which is what makes a lone GM see the same thing as a table full of players. false when the sender must not act on its own message.


to?

readonly optional to?: readonly string[]

User ids to send to. Left out, every other client receives it. The sender's own id is dropped from the list, because the local run below already covers this client.

MIT licensed.