Networking · type

SessionRole

What a role means is in this file's header, not in these names.

Explained in Networking and rollback.

type SessionRole = 'relay' | 'authority' | 'participant'
import type { SessionRole } from '@driftengine/network';