AttachState

Packages > @fluidframework/container-definitions > AttachState

The attachment state of some Fluid data (e.g. a container or data store), denoting whether it is uploaded to the service. The transition from detached to attached state is a one-way transition.

Signature

export declare enum AttachState

Flags

Flag Description
Attached In attached state, the data has completed upload to the service. It can be accessed by other clients after reaching attached state.
Attaching In attaching state, the data has started the upload to the service, but has not yet completed.
Detached In detached state, the data is only present on the local client's machine. It has not yet been uploaded to the service.

Attached

In attached state, the data has completed upload to the service. It can be accessed by other clients after reaching attached state.

Signature

Attached = "Attached"

Attaching

In attaching state, the data has started the upload to the service, but has not yet completed.

Signature

Attaching = "Attaching"

Detached

In detached state, the data is only present on the local client’s machine. It has not yet been uploaded to the service.

Signature

Detached = "Detached"