EagerCheckout Class
Checkout that always stays up to date with the SharedTree. This means that waitForPendingUpdates() is always a no-op since EagerCheckout is always up to date.
Signature
/** @sealed */
export declare class EagerCheckout extends Checkout
Extends: Checkout
Constructors
Constructor | Description |
---|---|
(constructor)(tree) | Constructs a new instance of the EagerCheckout class |
Properties
Property | Type | Description |
---|---|---|
latestCommittedView | RevisionView |
Methods
Method | Return Type | Description |
---|---|---|
waitForEditsToSubmit() | Promise<void> | |
waitForPendingUpdates() | Promise<void> |
Constructor Details
(constructor)
Constructs a new instance of the EagerCheckout
class
Signature
constructor(tree: SharedTree);
Parameters
Parameter | Type | Description |
---|---|---|
tree | SharedTree | the tree |
Property Details
latestCommittedView
Signature
protected get latestCommittedView(): RevisionView;
Type: RevisionView
Method Details
waitForEditsToSubmit
Signature
waitForEditsToSubmit(): Promise<void>;
Returns
Return type: Promise<void>
waitForPendingUpdates
Signature
waitForPendingUpdates(): Promise<void>;
Returns
Return type: Promise<void>