NAME
AnyEvent::Impl::CoroEvent - AnyEvent adaptor for Coro::Event, Event
SYNOPSIS
use AnyEvent;
use Coro::Event;
# this module gets loaded automatically as required
DESCRIPTION
This module provides transparent support for AnyEvent. You don't have to do anything to make Coro::Event work with AnyEvent except by loading Coro::Event before creating the first AnyEvent watcher.
Unlike most other event models, Coro::Event models allow recursion in condvars (see AnyEvent, $condvar->wait
), as long as this is done from different coroutines AND Coro::unblock
is used to register callbacks. See AnyEvent::Coro::Event for even fewer restrictions.
See AnyEvent::Impl::Coro and Coro::Event for more details about Coro integration.
SEE ALSO
AnyEvent, AnyEvent::Impl::Coro, Coro::Event.
AUTHOR
Marc Lehmann <schmorp@schmorp.de>
http://home.schmorp.de/