Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/awncorp/zing-zang
Callback-based Actor Implementation
https://github.com/awncorp/zing-zang
actor-model event-loop ipc job-queue message-passing perl perl5
Last synced: about 2 months ago
JSON representation
Callback-based Actor Implementation
- Host: GitHub
- URL: https://github.com/awncorp/zing-zang
- Owner: awncorp
- License: other
- Created: 2020-12-26T05:08:45.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-31T18:42:58.000Z (almost 4 years ago)
- Last Synced: 2023-08-12T03:19:49.081Z (over 1 year ago)
- Topics: actor-model, event-loop, ipc, job-queue, message-passing, perl, perl5
- Language: Perl
- Homepage: https://metacpan.org/release/Zing-Zang
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: CHANGES
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
NAME
Zing::Zang - Callback-based Actor
ABSTRACT
Callback-based Actor Implementation
SYNOPSIS
use Zing::Zang;
my $zang = Zing::Zang->new(
on_perform => sub {
my ($self) = @_;
$self->{performed}++
}
);
# $zang->execute;DESCRIPTION
This package provides a standard Zing::Process which uses callbacks and
doesn't need to be subclassed. It supports providing the standard
process perform method as on_perform and receive method as on_receive
which operate as expected.INHERITS
This package inherits behaviors from:
Zing::Process
LIBRARIES
This package uses type constraints from:
Zing::Types
ATTRIBUTES
This package has the following attributes:
on_perform
on_perform(Maybe[CodeRef])
This attribute is read-only, accepts (Maybe[CodeRef]) values, and is
optional.on_receive
on_receive(Maybe[CodeRef])
This attribute is read-only, accepts (Maybe[CodeRef]) values, and is
optional.AUTHOR
Al Newkirk, [email protected]
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under
the terms of the The Apache License, Version 2.0, as elucidated in the
"license file"
.PROJECT
Wiki
Project
Initiatives
Milestones
Contributing
Issues