Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Media.PlayersCreatedEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { PlayersCreatedEvent } = default.Media;

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