type

AfterCommitEffect

The operation details and callback passed to an after-commit dispatcher.

Properties

PropertyTypeDescription
Operationoperation.KindThe committed operation.
CollectionIDschema.StableIDAffected collection identity.
GlobalIDschema.StableIDAffected global identity, when applicable.
DocumentIDstringThe document ID, or an empty string when the operation has no single document, such as a list read.
Runfunc(context.Context) errorRun the original hook outside its committed transaction using the supplied execution context.

Full signature

Related guides