license import { hookup , initializeQueues } from "actor-helpers/src/actor/Actor.js" ; import UiActor from "./actors/ui.js" ; async function bootstrap ( ) { await initializeQueues ( ) ; hookup ( "ui" , new UiActor ( ) ) ; const worker = new Worker ( "worker.js" ) ; setInterval ( ( ) => { worker . postMessage ( "" ) ; } , 3000 ) ; } bootstrap ( ) ;