Skip to main content
Version: 0.3.30

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