Skip to main content

@fluid-experimental/oldest-client-observer Package

Interfaces

Interface Alerts Description
IOldestClientObservable Legacy, Alpha 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).
IOldestClientObservableEvents Legacy, Alpha Events emitted by IOldestClientObservable.
IOldestClientObserver Legacy, Alpha
IOldestClientObserverEvents Legacy, Alpha Events emitted by IOldestClientObservable.

Classes

Class Alerts Description
OldestClientObserver Legacy, Alpha

The OldestClientObserver is a utility inspect if the local client is the oldest amongst connected clients (in terms of when they connected) and watch for changes.

It is still experimental and under development. Please do try it out, but expect breaking changes in the future.