Skip to content
Developer Preview

MuseClientOptions

Options for building a MuseClient around a connection you already own. MuseClient.spawn fills these in for you; supply them yourself only when you compose the client with your own transport and handshake.

Property Type Stability Presence Description
durability SessionDurabilityProfile required The handshake’s sessionDurability, read through readSessionDurability.
host SpawnedMspConnection optional The owned host, set by MuseClient.spawn. A client built around a connection somebody else owns has none, and says so by omitting it — which is why close() falls back to closing just the connection.
Source

clients/sdk-ts/src/facade/client.ts:108

{
"kind": "Interface",
"canonicalPath": "MuseClientOptions"
}