This is the eventbus Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:03:58 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
eventbus
An event bus in Common Lisp.
noloop <noloop@zoho.com>
noloop <noloop@zoho.com>
(GIT git@github.com:noloop/eventbus.git)
GPLv3
0.1.0
src
(module).
Modules are listed depth-first from the system components tree.
eventbus/src
eventbus
(system).
package.lisp
(file).
eventbus.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
eventbus/src/eventbus.lisp
package.lisp
(file).
src
(module).
emit
(function).
get-all-events-name
(function).
get-all-listeners-of-event
(function).
get-listener-count-of-event
(function).
make-eventbus
(function).
off
(function).
on
(function).
once
(function).
remove-all-listeners-of-event
(function).
make-listener
(function).
Packages are listed by definition order.
noloop.eventbus
eventbus
common-lisp
.
emit
(function).
get-all-events-name
(function).
get-all-listeners-of-event
(function).
get-listener-count-of-event
(function).
make-eventbus
(function).
off
(function).
on
(function).
once
(function).
remove-all-listeners-of-event
(function).
make-listener
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Emite an event by passing the arguments offered to the listener function. If the listener is once, then the listener is excluded from the list of listeners.
Return one list with all name of events of the eventbus. The list returned includes add-listener and remove-listener.
Return two values, the value: list of listeners of the event, and present-p: list is present.
Return length listeners of event. Return nil if event nonexistent.
Return eventbus instance.
Remove the first listener from the event listeners list.
Add one listener to an event. The add-listener event is emitted before adding the new listener.
Add one listener to an event. The listener is removed when the event is emitted. The add-listener event is emitted before adding the new listener.
Removing all listeners from the event. Will be called the off function for each listener, so the remove-listener event is emitted correctly for each listener removed.
It returns a list, the first element being a listener function, and the following being a boolean saying if it is an once listener.
Jump to: | E F G M O R |
---|
Jump to: | E F G M O R |
---|
Jump to: | E F M N P S |
---|
Jump to: | E F M N P S |
---|