Networking · type

PeerId

Which participant a message is for or from. Small integers, assigned by the host.

Explained in Networking and rollback.

type PeerId = number
import type { PeerId } from '@driftengine/network';