declare function listenStrategyCommit(fn: (event: StrategyCommitContract) => void): () => void;
Subscribes to strategy management events with queued async processing.
Emits when strategy management actions are executed:
Events are processed sequentially in order received, even if callback is async. Uses queued wrapper to prevent concurrent execution of the callback.
| Parameter | Description |
|---|---|
fn |
Callback function to handle strategy commit events |