GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
AnyEvent::Impl::Cocoa(3) User Contributed Perl Documentation AnyEvent::Impl::Cocoa(3)

AnyEvent::Impl::Cocoa - AnyEvent adaptor for Cocoa::EventLoop

    use AnyEvent;
    use Cocoa::EventLoop;
    
    # do something

This module provides NSRunLoop support to AnyEvent.

NSRunLoop is an event loop for Cocoa applications, wrapped by Cocoa::EventLoop. By using this module, you can use Cocoa based API in your AnyEvent application, or AnyEvent within Cocoa applications.

It does not support blocking waits.

Right now, Cocoa::EventLoop (and this module) are in an early development phase and has some shortcomings and likely bugs.

For example, there seems to be no way to just handle a single event with Cocoa (is there nothing they can implement properly?), so this module currently wakes up at least ten times a second when waiting for events. Also, events caused by timers might get delayed by up to 0.1 seconds.

Daisuke Murase <typester@cpan.org>, Marc Lehmann <schmorp@schmorp.de>.

   Copyright (c) 2009 by KAYAC Inc.
   Copyright (c) 2010,2011 by Marc Lehmann <schmorp@schmorp.de>
2012-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.