TinyBase logoTinyBase β

onPathId

The onPathId method is called when the first client connects to, or the last client disconnects from, the server with a given path Id.

onPathId(
  pathId: string,
  addedOrRemoved: IdAddedOrRemoved,
): void
TypeDescription
pathIdstring
addedOrRemovedIdAddedOrRemoved
returnsvoid

This has no return value.

Since

v5.4.0