Sponsored Content
The Lounge What is on Your Mind? Congratulations to Corona688 for 20,000 Posts! Post 302928955 by Corona688 on Tuesday 16th of December 2014 02:01:02 PM
Old 12-16-2014
Wow, I was watching for that and somehow missed it! Thank you everyone! Still glad to be here.
 

6 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Microsoft "Donates" $3,000,000,000 to Feds

Surreal quote from the news link below: http://www.washingtonpost.com/wp-dyn/articles/A44615-2002Nov12.html (0 Replies)
Discussion started by: Neo
0 Replies

2. What is on Your Mind?

Congratulations to Chile ! Bravo !!

On behalf of the forums, we are so happy to see such an amazingly rescue of the 33 miners. What a great and happy story of human endurance and team work to save miners trapped nearly 700 meters underground. Bravo Chile !! We salute you!!! (5 Replies)
Discussion started by: Neo
5 Replies

3. What is on Your Mind?

Congratulations Neo for 10,000 Post

Hi all, Please join me to congrats Neo for crossing 10,000 posts count. I think he is the first to have this count with the longest journey (12 yrs) at unix.com. At least I didn't see any other member with the same or more figures.Mods, please correct me if wrong. Perderabo is likely to be the... (6 Replies)
Discussion started by: clx
6 Replies

4. What is on Your Mind?

Congratulations Corona688 for reaching to landmark of 4000+ THANKS

Hello All, Let's join our hands together to appreciate Corona688 for completing and reaching to the landmark of 4000+ THANKS. I do want to appreciate Corona688 on behalf of everyone here in forum for Corona688's continuous effort of posting very useful, full of experience and knowledge posts in... (7 Replies)
Discussion started by: RavinderSingh13
7 Replies

5. What is on Your Mind?

Congratulations RudiC for completing 4000+ THANKS in forums.

Hello All forum members, I would like to take this opportunity to THANK RudiC for his tremendous achievement, guidance, help for helping in forums, let us join our hands together for his GREAT achievement :b: @Rudi sir, How are you sir? you ROCK, please keep up the great work sir :b: ... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies

6. What is on Your Mind?

Congratulations RudiC for completing 4500 THANKS in forums.

Hello All, I would like to take this opportunity to CONGRATULATE RudiC sir, (on behalf of all of us); please join your hands with me for congratulating RudiC sir for completing 4500 THANKS in forums. He is a GREAT ASSET in this forums and from years and years he is giving NICE, QUICK, Innovative... (8 Replies)
Discussion started by: RavinderSingh13
8 Replies
Mojo::Reactor::EV(3pm)					User Contributed Perl Documentation				    Mojo::Reactor::EV(3pm)

NAME
Mojo::Reactor::EV - Low level event reactor with libev support SYNOPSIS
use Mojo::Reactor::EV; # Watch if handle becomes readable or writable my $reactor = Mojo::Reactor::EV->new; $reactor->io($handle => sub { my ($reactor, $writable) = @_; say $writable ? 'Handle is writable' : 'Handle is readable'; }); # Add a timer $reactor->timer(15 => sub { my $reactor = shift; $reactor->remove($handle); say 'Timeout!'; }); # Start reactor if necessary $reactor->start unless $reactor->is_running; DESCRIPTION
Mojo::Reactor::EV is a low level event reactor based on EV. EVENTS
Mojo::Reactor::EV inherits all events from Mojo::Reactor::Poll. METHODS
Mojo::Reactor::EV inherits all methods from Mojo::Reactor::Poll and implements the following new ones. "new" my $reactor = Mojo::Reactor::EV->new; Construct a new Mojo::Reactor::EV object. "is_running" my $success = $reactor->is_running; Check if reactor is running. "one_tick" $reactor->one_tick; Run reactor until an event occurs or no events are being watched anymore. Note that this method can recurse back into the reactor, so you need to be careful. "recurring" my $id = $reactor->recurring(0.25 => sub {...}); Create a new recurring timer, invoking the callback repeatedly after a given amount of time in seconds. "start" $reactor->start; Start watching for I/O and timer events, this will block until "stop" is called or no events are being watched anymore. "stop" $reactor->stop; Stop watching for I/O and timer events. "timer" my $id = $reactor->timer(0.5 => sub {...}); Create a new timer, invoking the callback after a given amount of time in seconds. "watch" $reactor = $reactor->watch($handle, $readable, $writable); Change I/O events to watch handle for with "true" and "false" values. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojo::Reactor::EV(3pm)
All times are GMT -4. The time now is 06:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy