20
// OnAfterRollback adds the provided effect function to set of such functions to
21
// be invoked when Buffer.Cancel is called.
23
>
b.cancels = append(b.cancels, effect)
24
>
}
25
26
// Apply invokes the buffered effect functions in the order that they were added