Packages > @fluidframework/map
@fluidframework/map Package
The map
library provides interfaces and implementing classes for map-like distributed data structures.
Remarks
The following distributed data structures are defined in this library:
-
SharedMap
-
SharedDirectory
Interfaces
Interface | Alerts | Modifiers | Description |
---|---|---|---|
ICreateInfo |
Deprecated , Legacy , Alpha
|
Create info for the subdirectory. | |
IDirectory |
Legacy
|
sealed
|
Interface describing actions on a directory. |
IDirectoryDataObject |
Deprecated , Legacy , Alpha
|
Defines the in-memory object structure to be used for the conversion to/from serialized. | |
IDirectoryEvents |
Legacy
|
sealed
|
Events emitted in response to changes to the directory data.
|
Classes
Class | Alerts | Modifiers | Description |
---|---|---|---|
DirectoryFactory |
Legacy , Alpha
|
sealed
|
IChannelFactory for ISharedDirectory.
|
Types
TypeAlias | Alerts | Description |
---|---|---|
SharedDirectory |
Legacy , Alpha
|
Entrypoint for ISharedDirectory creation.
|
SharedMap |
Legacy , Alpha
|
Entrypoint for ISharedMap creation.
|
Variables
Variable | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
SharedDirectory |
Legacy , Alpha
|
readonly
|
import("@fluidframework/shared-object-base/internal").ISharedObjectKind<ISharedDirectory> & import("@fluidframework/shared-object-base/internal").SharedObjectKind<ISharedDirectory> |
Entrypoint for ISharedDirectory creation.
|
SharedMap |
Legacy , Alpha
|
readonly
|
import("@fluidframework/shared-object-base/internal").ISharedObjectKind<ISharedMap> & import("@fluidframework/shared-object-base/internal").SharedObjectKind<ISharedMap> |
Entrypoint for ISharedMap creation.
|
Variable Details
SharedDirectory
Entrypoint for ISharedDirectory creation.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/map/legacy
.
For more information about our API support guarantees, see here .
Signature
SharedDirectory: import("@fluidframework/shared-object-base/internal").ISharedObjectKind<ISharedDirectory> & import("@fluidframework/shared-object-base/internal").SharedObjectKind<ISharedDirectory>
Type: import("@fluidframework/shared-object-base/internal").ISharedObjectKind <ISharedDirectory > & import("@fluidframework/shared-object-base/internal").SharedObjectKind <ISharedDirectory >
SharedMap
Entrypoint for ISharedMap creation.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/map/legacy
.
For more information about our API support guarantees, see here .
Signature
SharedMap: import("@fluidframework/shared-object-base/internal").ISharedObjectKind<ISharedMap> & import("@fluidframework/shared-object-base/internal").SharedObjectKind<ISharedMap>
Type: import("@fluidframework/shared-object-base/internal").ISharedObjectKind <ISharedMap > & import("@fluidframework/shared-object-base/internal").SharedObjectKind <ISharedMap >