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

Re: Mojo: non-blocking API calls

by Anonymous Monk
on Nov 28, 2016 at 02:13 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2021-05-06 01:23 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (69 votes). Check out past polls.