# Functions
NewBatch wraps a datastore.Batch and adds optional before and after hooks into it's methods.
WithAfterCommit configures a hook that is called _after_ Commit.
WithAfterDelete configures a hook that is called _after_ Delete.
WithAfterPut configures a hook that is called _after_ Put.
WithBeforeCommit configures a hook that is called _before_ Commit.
WithBeforeDelete configures a hook that is called _before_ Delete.
WithBeforePut configures a hook that is called _before_ Put.
# Type aliases
AfterCommitFunc is a handler for the after Commit hook.
AfterDeleteFunc is a handler for the after Delete hook.
AfterPutFunc is a handler for the after Put hook.
BeforeCommitFunc is a handler for the before Commit hook.
BeforeDeleteFunc is a handler for the before Delete hook.
BeforePutFunc is a handler for the before Put hook.
Option is the batch option type.