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