A commit/rollback pair returned from a custom policy decision.
The engine calls commit() when the surrounding pre-trade transaction is
accepted and the downstream venue acknowledged the order, or rollback()
otherwise. Exactly one of the two runs, exactly once. There is no wasm class
for it because it carries JS closures the engine invokes.
A commit/rollback pair returned from a custom policy decision.
The engine calls
commit()when the surrounding pre-trade transaction is accepted and the downstream venue acknowledged the order, orrollback()otherwise. Exactly one of the two runs, exactly once. There is no wasm class for it because it carries JS closures the engine invokes.