The Candid Startup
Posts
Topics
Projects
About
Contact
Preparing search index...
@candidstartup/event-sourced-spreadsheet-data
EventSourcedSpreadsheetWorkflow
Class EventSourcedSpreadsheetWorkflow
Event sourced implementation of spreadsheet
EventLog
triggered workflows
Index
Constructors
constructor
Methods
is
Compatible
Log
is
Compatible
Viewport
notify
Listeners
set
Viewport
Cell
Range
sync
Logs
Async
Properties
blob
Store
content
event
Log
is
In
Sync
Logs
options
worker
Constructors
constructor
new
EventSourcedSpreadsheetWorkflow
(
eventLog
:
EventLog
<
SetCellValueAndFormatLogEntry
>
,
blobStore
:
BlobStore
<
unknown
>
,
worker
:
InfiniSheetWorker
<
PendingWorkflowMessage
>
,
options
?:
EventSourcedSpreadsheetDataOptions
,
)
:
EventSourcedSpreadsheetWorkflow
Parameters
eventLog
:
EventLog
<
SetCellValueAndFormatLogEntry
>
blobStore
:
BlobStore
<
unknown
>
worker
:
InfiniSheetWorker
<
PendingWorkflowMessage
>
Optional
options
:
EventSourcedSpreadsheetDataOptions
Returns
EventSourcedSpreadsheetWorkflow
Methods
Protected
is
Compatible
Log
isCompatibleLog
(
curr
:
EventSourcedSnapshotContent
)
:
boolean
Parameters
curr
:
EventSourcedSnapshotContent
Returns
boolean
Protected
is
Compatible
Viewport
isCompatibleViewport
(
curr
:
EventSourcedSnapshotContent
)
:
boolean
Parameters
curr
:
EventSourcedSnapshotContent
Returns
boolean
Protected
notify
Listeners
notifyListeners
()
:
void
Returns
void
Protected
set
Viewport
Cell
Range
setViewportCellRange
(
viewportCellRange
:
CellRangeCoords
|
null
|
undefined
,
viewport
?:
SpreadsheetViewport
,
)
:
void
Parameters
viewportCellRange
:
CellRangeCoords
|
null
|
undefined
Optional
viewport
:
SpreadsheetViewport
Returns
void
Protected
sync
Logs
Async
syncLogsAsync
(
endSequenceId
?:
bigint
)
:
Promise
<
void
>
Parameters
Optional
endSequenceId
:
bigint
Returns
Promise
<
void
>
Properties
Protected
blob
Store
blobStore
:
BlobStore
<
unknown
>
Protected
content
content
:
EventSourcedSnapshotContent
Protected
event
Log
eventLog
:
EventLog
<
SetCellValueAndFormatLogEntry
>
Protected
is
In
Sync
Logs
isInSyncLogs
:
boolean
Protected
options
options
:
EventSourcedSpreadsheetDataOptions
|
undefined
Protected
worker
worker
:
InfiniSheetWorker
<
PendingWorkflowMessage
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
is
Compatible
Log
is
Compatible
Viewport
notify
Listeners
set
Viewport
Cell
Range
sync
Logs
Async
Properties
blob
Store
content
event
Log
is
In
Sync
Logs
options
worker
Project Home
Posts
Topics
Projects
About
Contact
InfiniSheet
Loading...
Event sourced implementation of spreadsheet EventLog triggered workflows