Skip to main content
Version: v1

@fluid-experimental/task-manager Package

Interfaces

Interface Description
IOldestClientObservable This is to make OldestClientObserver work with either a ContainerRuntime 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
IOldestClientObserver
IOldestClientObserverEvents
ITaskManager Task manager interface
ITaskManagerEvents

Classes

Class Description
OldestClientObserver

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.

TaskManager

The TaskManager distributed data structure tracks queues of clients that want to exclusively run a task.

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