relayer icon indicating copy to clipboard operation
relayer copied to clipboard

[TASK] Implement event handler trait for substrate

Open salman01zp opened this issue 3 years ago • 0 comments

Implement the EventHandler trait similar to Evm here which will allow one event watcher to run and many event handlers that will run in parallel.


let vanchor_watcher_task = event_watcher.run(
      client,
      store,
      vec![
            Box::new(deposit_handler),
            Box::new(leaves_handler),
            Box::new(encrypted_output_handler),
          ],
       &my_ctx,
       );

salman01zp avatar Oct 19 '22 11:10 salman01zp