Discover Packages
github.com/onflow/flow-archive
util
package
Version:
v0.30.3-testing
Opens a new window with list of versions in this module.
Published: Apr 20, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Flush will call the badger Batch's Flush method, in
addition, it will call the callbacks added by
OnSucceed
func (b *Batch ) OnSucceed(callback func())
OnSucceed adds a callback to execute after the batch has
been successfully flushed.
useful for implementing the cache where we will only cache
after the batch has been successfully flushed
Source Files
¶
Click to show internal directories.
Click to hide internal directories.