Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my $delay_main = Mojo::IOLoop->delay(
- get_orderb($self, $delay_orderbooks),
- get_bal($self, $delay_getbalances),
- get_openord($self, $delay_openorders)
- );
- $delay_main->wait unless $delay_main->ioloop->is_running;
- my $delay_main2 = Mojo::IOLoop->delay(
- check_bids_asks,
- find_matches,
- creaord($controller),
- );
- $delay_main2->wait unless $delay_main2->ioloop->is_running;
- $delay_main->begin;
- $delay_main2->begin;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement