createTLUser
Public function
Signature
function createTLUser(opts?: {
derivePresenceState?:
| ((store: TLStore) => Signal<null | TLInstancePresence>)
| undefined
userPreferences?: Signal<TLUserPreferences, unknown> | undefined
setUserPreferences?:
| ((userPreferences: TLUserPreferences) => void)
| undefined
}): TLUser
Parameters
Name | Description |
---|---|
|
|
Returns
TLUser
References
TLStore, TLInstancePresence, TLUserPreferences
Source