1AnyEvent::Impl::Cocoa(3U)ser Contributed Perl DocumentatiAonnyEvent::Impl::Cocoa(3)
2
3
4

NAME

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

SYNOPSIS

9           use AnyEvent;
10           use Cocoa::EventLoop;
11
12           # do something
13

DESCRIPTION

15       This module provides NSRunLoop support to AnyEvent.
16
17       NSRunLoop is an event loop for Cocoa applications, wrapped by
18       Cocoa::EventLoop. By using this module, you can use Cocoa based API in
19       your AnyEvent application, or AnyEvent within Cocoa applications.
20
21       It does not support blocking waits.
22

BUGS

24       Right now, Cocoa::EventLoop (and this module) are in an early
25       development phase and has some shortcomings and likely bugs.
26
27       For example, there seems to be no way to just handle a single event
28       with Cocoa (is there nothing they can implement properly?), so this
29       module currently wakes up at least ten times a second when waiting for
30       events. Also, events caused by timers might get delayed by up to 0.1
31       seconds.
32

AUTHORS

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

COPYRIGHTS

37          Copyright (c) 2009 by KAYAC Inc.
38          Copyright (c) 2010,2011 by Marc Lehmann <schmorp@schmorp.de>
39
40
41
42perl v5.36.0                      2022-07-22          AnyEvent::Impl::Cocoa(3)
Impressum