- or download this
#this code should block if nothing comes from child 2 and during that
+time it
#may receive data from child1 that wont be acted upon
...
}
}
- or download this
while(1){
print "recving\n";
...
print "$hash";
print "\n" x 5;
}
- or download this
$self->{venues}->{$i}->{client} = AnyEvent::WebSocket::Client->new
+;
my $cv = $self->{venues}->{$i}->{client}->connect("wss://api.s
+tockfighter.io/ob/api/ws/$self->{account}/venues/$i/tickertape")->cb(
+sub{
...
});
});