createPresenceStateDerivation
See source codeCreates a derivation that represents the current presence state of the current user.
function createPresenceStateDerivation(
  $user: Signal<TLPresenceUserInfo>,
  instanceId?: TLInstancePresence['id']
): (store: TLStore) => Signal<null | TLInstancePresence>Parameters
| Name | Description | 
|---|---|
| 
 |  | 
| 
 |  | 
Returns
(store: TLStore) => Signal<null | TLInstancePresence>Prev
createBindingValidatorNext
createShapeId