Help for this page

Select Code to Download


  1. 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
    ...
          }
          
    }
    
  2. or download this
    while(1){ 
        print "recving\n"; 
    ...
        print "$hash"; 
        print "\n" x 5; 
    }
    
  3. 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{
    ...
                   });
            });