Skip to main content
Version: Next

emulator.emulator.starteventloop

Home > @blaze-cardano/emulator > Emulator > startEventLoop

Emulator.startEventLoop() method

Starts the event loop for the ledger. If the event loop is already running, it is cleared and restarted. The event loop calls the stepForwardBlock method every 20 slots.

Signature:

startEventLoop(): void;

Returns:

void