TransactionBase::RegisterCommitHandler (open)

Registers a commit handler, which is called when the transaction commits or rolls back

Syntax

LOADLIB "wh::dbase/transaction.whlib";

MACRO RegisterCommitHandler(STRING coalesce_tag, FUNCTION PTR handler)

Parameters

STRING coalesce_tag

If non-empty, the handler won't be registered if another handler with the same tag is already registered.

FUNCTION PTR handler

Handler function. Signature: MACRO handler(BOOLEAN iscommit)