Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Media.PlayersCreatedEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { PlayersCreatedEvent } = Protocol.Media;

Called whenever a player is created, or when a new agent joins and recieves a list of active players. If an agent is restored, it will recieve the full list of player ids and all events again.