TileDocument stream handler implementation

Hierarchy

  • TileDocumentHandler

Implements

  • StreamHandler<TileDocument>

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Applies commit (genesis|signed|anchor)

    Parameters

    • commitData: CommitData

      Commit (with JWS envelope or anchor proof, if available and extracted before application)

    • context: StreamReaderWriter

      Interface to read or write to ceramic network

    • Optional state: StreamState<StreamMetadata>

      Document state

    Returns Promise<StreamState<StreamMetadata>>