Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Mojo: non-blocking API calls

by Anonymous Monk
on Nov 28, 2016 at 02:13 UTC ( [id://1176673]=note: print w/replies, xml ) Need Help??


in reply to Mojo: non-blocking API calls

Take a look at Dancer as a proxy, Mojolicious: Websocket example under hypnotoad, real-time output from Mojolicious WebSockets?

Do these things raise any questions or answer any questions?

Mojo::IOLoop::Delay looks low-level, maybe useful if you're creating a Mojo::UserAgent .... if all you're wanting is to use a Mojo::UserAgent forget about IOLoop::Delay

You connect event handlers (callbacks) to the eventloop, the callbacks do a little work and let other callbacks do their work ... only rule of callbacks is not to block

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1176673]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found