LatestFactory Interface
Factory for creating a Latest or LatestRaw State object.
To use, import via @fluidframework/presence/beta
.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
/** @sealed */
export interface LatestFactory
Call Signatures
CallSignature | Alerts | Description |
---|---|---|
<T extends object | null, Key extends string = string>(args: LatestArguments<T>): InternalTypes.ManagerFactory<Key, InternalTypes.ValueRequiredState<T>, Latest<T>> | Beta |
Factory for creating a Latest State object. |
<T extends object | null, Key extends string = string>(args: LatestArgumentsRaw<T>): InternalTypes.ManagerFactory<Key, InternalTypes.ValueRequiredState<T>, LatestRaw<T>> | Beta |
Factory for creating a LatestRaw State object. |
Call Signature Details
<T extends object | null, Key extends string = string>(args: LatestArguments<T>): InternalTypes.ManagerFactory<Key, InternalTypes.ValueRequiredState<T>, Latest<T>>
Factory for creating a Latest State object.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
<T extends object | null, Key extends string = string>(args: LatestArguments<T>): InternalTypes.ManagerFactory<Key, InternalTypes.ValueRequiredState<T>, Latest<T>>;
Type Parameters
Parameter | Constraint | Default | Description |
---|---|---|---|
T | object | null | ||
Key | string | string |
Remarks
This overload is used when called with LatestArguments. That is, if a validator function is provided.
<T extends object | null, Key extends string = string>(args: LatestArgumentsRaw<T>): InternalTypes.ManagerFactory<Key, InternalTypes.ValueRequiredState<T>, LatestRaw<T>>
Factory for creating a LatestRaw State object.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
<T extends object | null, Key extends string = string>(args: LatestArgumentsRaw<T>): InternalTypes.ManagerFactory<Key, InternalTypes.ValueRequiredState<T>, LatestRaw<T>>;
Type Parameters
Parameter | Constraint | Default | Description |
---|---|---|---|
T | object | null | ||
Key | string | string |
Remarks
This overload is used when called with LatestArgumentsRaw. That is, if a validator function is _not_ provided.