Skip to content
Snippets Groups Projects
Select Git revision
0 results

proto.go

  • Luke Champine's avatar
    2ec7c9d3
    add SaveFn support to proto · 2ec7c9d3
    Luke Champine authored and David Vorick's avatar David Vorick committed
    If the SaveFn field of proto.Editor or proto.Downloader is non-nil,
    it will be called prior to sending the transaction signatures of
    the revision. Typically, the function would save the revision to
    persistent storage, such that in the event of a desync, the revision
    could be restored.
    2ec7c9d3
    History
    add SaveFn support to proto
    Luke Champine authored and David Vorick's avatar David Vorick committed
    If the SaveFn field of proto.Editor or proto.Downloader is non-nil,
    it will be called prior to sending the transaction signatures of
    the revision. Typically, the function would save the revision to
    persistent storage, such that in the event of a desync, the revision
    could be restored.