HomeDocumentationGitHub
  • Preparing search index...
  • The search index is not available
Causl API Reference - v0.2.0
  • Causl API Reference
  • @causl/devtools
  • exportSnapshot

Function exportSnapshot

  • exportSnapshot(graph: SnapshotReadGraph, options: ExportOptions): Snapshot

    Capture the values of the requested input nodes into a Snapshot.

    Parameters

    • graph: SnapshotReadGraph

      The source graph.

    • options: ExportOptions

      Specifies the inputs to capture and an optional intent.

    Returns Snapshot

    A Snapshot envelope at the current GraphTime.

    Example

    const snap = exportSnapshot(graph, { inputs: [a, b, c], intent: 'before-edit' })
    
    • Defined in snapshot.ts:103

Settings

Member Visibility
HomeDocumentationGitHub
Causl API Reference - v0.2.0
  • Loading...

Generated using TypeDoc