type
AfterCommitEffect
The operation details and callback passed to an after-commit dispatcher.
Properties
| Property | Type | Description |
|---|---|---|
Operation | operation.Kind | The committed operation. |
CollectionID | schema.StableID | Affected collection identity. |
GlobalID | schema.StableID | Affected global identity, when applicable. |
DocumentID | string | The document ID, or an empty string when the operation has no single document, such as a list read. |
Run | func(context.Context) error | Run the original hook outside its committed transaction using the supplied execution context. |