libevent-distributor-perl 0.06-1 source package in Ubuntu
Changelog
libevent-distributor-perl (0.06-1) unstable; urgency=medium * Team upload. [ Debian Janitor ] * Update standards version to 4.4.1, no changes needed. * Bump debhelper from old 11 to 12. * Set debhelper-compat version in Build-Depends. * Remove obsolete fields Contact, Name from debian/upstream/metadata. [ gregor herrmann ] * Remove contentless debian/upstream/metadata. * debian/watch: use uscan version 4. [ Debian Janitor ] * Update standards version to 4.5.0, no changes needed. * Remove constraints unnecessary since stretch: + Build-Depends: Drop versioned constraint on libmodule-build-perl. + Build-Depends-Indep: Drop versioned constraint on libfuture-perl. + libevent-distributor-perl: Drop versioned constraint on libfuture-perl in Depends. * Bump debhelper from old 12 to 13. * Update standards version to 4.5.1, no changes needed. [ gregor herrmann ] * Import upstream version 0.06. * Update years of upstream copyright. * Update (build) dependencies. * Declare compliance with Debian Policy 4.6.0. * Set Rules-Requires-Root: no. * Annotate test-only build dependencies with <!nocheck>. * Update long description. -- gregor herrmann <email address hidden> Wed, 29 Sep 2021 16:15:31 +0200
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libevent-distributor-perl_0.06-1.dsc | 2.5 KiB | 452c516029e6c7f35454472e2acde11ca85dc9273fb0f2cdefb4f1ed3209ec01 |
libevent-distributor-perl_0.06.orig.tar.gz | 18.5 KiB | d1692a21ad500464fdfe3248e114e43b4cadc7ae9f8a1202e0c7deecb9a81b54 |
libevent-distributor-perl_0.06-1.debian.tar.xz | 2.3 KiB | 54e6d3803f457e8e4a98352b149284cdf4a6cd5cd6454beea093af4e15d51193 |
Available diffs
- diff from 0.05-2 to 0.06-1 (4.2 KiB)
No changes file available.
Binary packages built by this source
- libevent-distributor-perl: simple in-process pub/sub mechanism
Instances of the Event::Distributor class provide a simple publish/subscribe
mechanism within a single process, for either synchronous or Future-based
asynchronous use.
.
A given instance has a set of named events. Subscribers are CODE references
attached to a named event. Publishers can declare the existence of a named
event, and then later invoke it by passing in arguments, which are
distributed to all of the subscribers of that named event.
.
It is specifically not an error to request to subscribe an event that has not
yet been declared, in order to allow multiple modules of code to be loaded
and subscribe events the others publish, without introducing loading order
dependencies. An event only needs to be declared by the time it is fired.
.
Natively all of the events provided by the distributor are fully-asynchronous
in nature. Each subscriber is expected to return a Future instance which will
indicate its completion; the results of these are merged into a single future
returned by the fire method itself. However, to support synchronous or
semi-synchronous programs using it, both the observe and invoke methods also
have a synchronous variant. Note however, that this module does not provide
any kind of asynchronous detachment of synchronous functions; using the
/subscribe_sync method to subscribe a long-running blocking function will
cause the fire_* methods to block until that method returns. To achieve a
truely-asynchronous experience the attached code will need to use some kind
of asynchronous event system.