Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

AnyEvent Question

by QuillMeantTen (Friar)
on Dec 24, 2015 at 22:53 UTC ( [id://1151141]=perlquestion: print w/replies, xml ) Need Help??

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{
    ...
                   });
            });
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1151141]
Approved by Old_Gray_Bear
Front-paged by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2024-04-19 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found