IOldestClientObservable Interface
This is to make OldestClientObserver work with either a IContainerRuntime or an IFluidDataStoreRuntime (both expose the relevant API surface and eventing). However, really this info probably shouldn't live on either, since neither is really the source of truth (they are just the only currently-available plumbing options). It's information about the connection, so the real source of truth is lower (at the connection layer).
To use, import via @fluid-experimental/oldest-client-observer/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface IOldestClientObservable extends IEventProvider<IOldestClientObservableEvents>
Extends: IEventProvider<IOldestClientObservableEvents>
Properties
Property | Alerts | Type | Description |
---|---|---|---|
attachState | Alpha |
AttachState | |
clientId | Alpha |
string | undefined | |
connected | Alpha |
boolean |
Methods
Method | Alerts | Return Type | Description |
---|---|---|---|
getQuorum() | Alpha |
IQuorumClients |
Property Details
attachState
To use, import via @fluid-experimental/oldest-client-observer/alpha
.
For more information about our API support guarantees, see here.
Signature
attachState: AttachState;
Type: AttachState
clientId
To use, import via @fluid-experimental/oldest-client-observer/alpha
.
For more information about our API support guarantees, see here.
Signature
clientId: string | undefined;
Type: string | undefined
connected
To use, import via @fluid-experimental/oldest-client-observer/alpha
.
For more information about our API support guarantees, see here.
Signature
connected: boolean;
Type: boolean
Method Details
getQuorum
To use, import via @fluid-experimental/oldest-client-observer/alpha
.
For more information about our API support guarantees, see here.
Signature
getQuorum(): IQuorumClients;
Returns
Return type: IQuorumClients