The blackbird Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The blackbird Reference Manual

This is the blackbird Reference Manual, version 0.5.2, generated automatically by Declt version 2.3 "Robert April" on Tue Feb 20 07:44:52 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

blackbird

A standalone promise implementation for Common Lisp. This is the successor to the now-deprecated cl-async-future project.

Its goal is to provide an abstraction around synchronous and asynchronous code in a way that's natural to regular lisp programming. This is ideal for both writing drivers that can handle both blocking and non-blocking sockets, as well as various threading operations that have the concept of a delayed result.

Documentation

Check out the blackbird doc site.

Tests

The test suite can be run by doing the following:

(ql:quickload :blackbird-test)
(blackbird-test:run-tests)

License

MIT.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 blackbird

Author

Andrew Danger Lyon <orthecreedence@gmail.com>

License

MIT

Description

A promise implementation for Common Lisp.

Version

0.5.2

Dependency

vom

Source

blackbird.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 blackbird.asd

Location

blackbird.asd

Systems

blackbird (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 blackbird/package.lisp

Parent

blackbird (system)

Location

package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 blackbird/syntax.lisp

Dependency

package.lisp (file)

Parent

blackbird (system)

Location

syntax.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 blackbird/promise.lisp

Dependency

package.lisp (file)

Parent

blackbird (system)

Location

promise.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.5 blackbird/util.lisp

Dependencies
Parent

blackbird (system)

Location

util.lisp

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 blackbird

Source

package.lisp (file)

Nickname

bb

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

4.2 blackbird-util

Source

package.lisp (file)

Use List
Used By List

blackbird

Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.3 blackbird-syntax

Source

package.lisp (file)

Nickname

bs

Use List
Used By List
Exported Definitions

Previous: , Up: Packages   [Contents][Index]

4.4 blackbird-base

Source

package.lisp (file)

Use List

common-lisp

Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *debug-on-error*

If t, will not catch errors passing through the handlers and will let them bubble up to the debugger.

Package

blackbird-base

Source

promise.lisp (file)

Special Variable: *promise-finish-hook*

This is a function of one argument: a function of 0 args that is called to finish a promise. By default it just finishes the promise, but can be replaced to add a delay to the promise or finish it from another thread.

Package

blackbird-base

Source

promise.lisp (file)

Special Variable: *promise-keep-specials*

Names of special variables to be preserved during promise callbacks

Package

blackbird-base

Source

promise.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: adolist (ITEM ITEMS &optional PROMISE-BIND) &body BODY

Async version of dolist, only continues loop when promise in final form finishes with a value.

Package

blackbird-util

Source

util.lisp (file)

Macro: aif PROMISE-GEN TRUE-FORM FALSE-FORM

Acts like ‘if‘ except that the evaluated form accepts a promise: (aif (async-action)
(it-worked!)
(nope-sad-face))

Package

blackbird-syntax

Source

syntax.lisp (file)

Macro: alet BINDINGS &body BODY

Asynchronous let. Allows calculating a number of values in parallel via promises, and runs the body when all values have computed with the bindings given available to the body.

Also returns a promise that fires with the values returned from the body form, which allows arbitrary nesting to get a final value(s).

Package

blackbird-syntax

Source

syntax.lisp (file)

Macro: alet* BINDINGS &body BODY

Asynchronous let*. Allows calculating a number of values in sequence via promises, and run the body when all values have computed with the bindings given available to the body.

Also returns a promise that fires with the values returned from the body form, which allows arbitrary nesting to get a final value(s).

Package

blackbird-syntax

Source

syntax.lisp (file)

Macro: attach PROMISE-GEN CB

Macro wrapping attachment of callback to a promise (takes multiple values into account, which a simple function cannot).

Package

blackbird-base

Source

promise.lisp (file)

Macro: catcher PROMISE-GEN &rest HANDLER-FORMS

Catch errors in the promise chain and run a handler function when caught.

Package

blackbird-base

Source

promise.lisp (file)

Macro: chain PROMISE-GEN &body OPERATIONS

Chain a number of promise operations together in an easy to read way:

(chain (+ 4 5)
(:then (x) (values (/ x 3) 69))
(:then (x y) (list 4 (* x y)))
(:map (x) (+ x 42))
(:reduce (acc val 0) (+ acc val))
(:then (x) (send-x-to-server x))
(:catch (e) (my-error-handler e))
(:finally () (we-are-done)))

Allowed operations are
- :then/:attach
- :map
- :reduce
- :filter
- :all
- :catch/:catcher
- :finally

Package

blackbird-util

Source

util.lisp (file)

Macro: finally PROMISE-GEN &body BODY

Run the body form whether the given promise has a value or an error.

Package

blackbird-base

Source

promise.lisp (file)

Macro: multiple-promise-bind (&rest BINDINGS) PROMISE-GEN &body BODY

Like multiple-value-bind, but instead of a form that evaluates to multiple values, takes a form that generates a promise.

Package

blackbird-syntax

Source

syntax.lisp (file)

Macro: promisify PROMISE-GEN

Turns any value or set of values into a promise, unless a promise is passed in which case it is returned.

Package

blackbird-base

Source

promise.lisp (file)

Macro: tap PROMISE-GEN TAP-FN

Gives a handler function access to a promise’s value but finishes the returned with the values of the given promise (instead of the return values of the given function). This allows installing a read-only hook into the promise chain, useful for logging or other such activities.

Package

blackbird-base

Source

promise.lisp (file)

Macro: wait PROMISE-GEN &body BODY

Wait for a promise to finish, ignoring any values it returns. Can be useful when you want to run an async action but don’t care about the return value (or it doesn’t return a value) and you want to continue processing when it returns.

Package

blackbird-syntax

Source

syntax.lisp (file)

Macro: walk &body BODY

Treat each operation in body as a sequential, promise-returning operation and then resolve the returned promise with the value(s) of the last operation in body.

Package

blackbird-syntax

Source

syntax.lisp (file)

Macro: walk1 SAVE-VALUES-FORM &body BODY

Like walk, except returns the value(s) of the first form instead of the last.

Package

blackbird-syntax

Source

syntax.lisp (file)

Macro: with-promise (RESOLVE REJECT &key RESOLVE-FN REJECT-FN NAME) &body BODY

Wraps create-promise in nicer syntax:

(with-promise (resolve reject) (do-something (lambda (result) (resolve result)))) => promise

Package

blackbird-base

Source

promise.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Functions

Function: aeach FUNCTION PROMISE-LIST

Given a function and a list of values/promises, runs the function on each resolved promise *in sequence*.

Package

blackbird-util

Source

util.lisp (file)

Function: afilter FUNCTION PROMISE-LIST

Perform a filter on a list of promises, or a promise of a list of promises, resolving the returned promise with the filtered list once complete.

Package

blackbird-util

Source

util.lisp (file)

Function: all PROMISE-LIST

Wait for all of the promises in the given list to resolve before resolving. If an error occurs on any of the given promises, it is forwarded to all’s returned promise.

Package

blackbird-util

Source

util.lisp (file)

Function: amap FUNCTION PROMISE-LIST

Run map over a list of promises/values, finishing the returned promise once all values have been fulfilled. If the given function returns a promise, its value will be used in the return array.

If any of the given promises fail, the main returned promise fails.

Package

blackbird-util

Source

util.lisp (file)

Function: areduce FUNCTION PROMISE-LIST &optional INITIAL-VALUE

Perform a reduce on a list of promises, or a promise of a list of promises, resolving the returned promise once complete.

Package

blackbird-util

Source

util.lisp (file)

Function: attach-errback PROMISE ERRBACK

Add an error handler for this promise.

Package

blackbird-base

Source

promise.lisp (file)

Function: create-promise CREATE-FN &key NAME

Returns a new promise, which can be finished/signaled via the given create-fn function, which takes exactly two values: a resolve function which is called with an arbitrary number of arguments and finishes the promise, and a reject function which takes a condition object and signals the condition on the promise.

Package

blackbird-base

Source

promise.lisp (file)

Function: do-attach PROMISE CB &key NAME

Attach a callback to a promise. The promise must be the first value in a list of values (car promise-values) OR the promise-values will be apply’ed to cb.

Package

blackbird-base

Source

promise.lisp (file)

Function: do-catch PROMISE HANDLER-FN

Catch errors in the promise chain and run a handler function when caught.

Package

blackbird-base

Source

promise.lisp (file)

Function: do-finally PROMISE FINALLY-FN

Run the finally-fn whether the given promise has a value or an error.

Package

blackbird-base

Source

promise.lisp (file)

Function: do-tap PROMISE TAP-FN

Gives a handler function access to a promise’s value but finishes the returned with the values of the given promise (instead of the return values of the given function). This allows installing a read-only hook into the promise chain, useful for logging or other such activities.

Package

blackbird-base

Source

promise.lisp (file)

Function: finish PROMISE &rest VALUES

Mark a promise as finished, along with all values it’s finished with. If finished with another promise, forward the current promise to the new one.

Package

blackbird-base

Source

promise.lisp (file)

Function: lookup-forwarded-promise PROMISE

This function follows forwarded promises until it finds the last in the chain of forwarding.

Package

blackbird-base

Source

promise.lisp (file)

Function: make-promise &key NAME

Create a blank promise.

Package

blackbird-base

Source

promise.lisp (file)

Function: promisep PROMISE

Is this a promise?

Package

blackbird-base

Source

promise.lisp (file)

Function: reset-promise PROMISE

Clear out all callbacks/errbacks. Useful for halting a promise’s execution.

Package

blackbird-base

Source

promise.lisp (file)

Function: signal-error PROMISE CONDITION

Signal that an error has happened on a promise. If the promise has errbacks, they will be used to process the error, otherwise it will be stored until an errback is added to the promise.

Package

blackbird-base

Source

promise.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Generic functions

Generic Function: promise-finished-p OBJECT
Package

blackbird-base

Methods
Method: promise-finished-p (PROMISE promise)

Marks if a promise has been finished or not.

Source

promise.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Classes

Class: promise ()

Defines a class which represents a value that MAY be ready sometime in the future. Also supports attaching callbacks to the promise such that they will be called with the computed value(s) when ready.

Package

blackbird-base

Source

promise.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name

Lets a promise be named this is good for debugging.

Initargs

:name

Readers

promise-name (generic function)

Writers

(setf promise-name) (generic function)

Slot: callbacks

A list that holds all callbacks associated with this promise.

Readers

promise-callbacks (generic function)

Writers

(setf promise-callbacks) (generic function)

Slot: errbacks

A list that holds all errbacks associated with this promise.

Readers

promise-errbacks (generic function)

Writers

(setf promise-errbacks) (generic function)

Slot: forwarded-promise

Can hold a reference to another promise, which will receive
callbacks and event handlers added to this one once set. This allows a promise to effectively take over another promise by taking all its callbacks/events.

Readers

promise-forward-to (generic function)

Writers

(setf promise-forward-to) (generic function)

Slot: finished

Marks if a promise has been finished or not.

Readers
Writers

(setf promise-finished) (generic function)

Slot: errored

Marks if an error occured on this promise.

Readers
Writers

(setf promise-errored) (generic function)

Slot: error

Holds an error value for this promise.

Readers

promise-error (generic function)

Writers

(setf promise-error) (generic function)

Slot: values

Holds the finished value(s) of the promise.

Readers

promise-values (generic function)

Writers

(setf promise-values) (generic function)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Macros

Macro: with-error-handling (BLOCKNAME &optional PROMISE) ERROR-FN &body BODY

Wraps some nice restarts around the bits of code that run our promises and handles errors.

Package

blackbird-base

Source

promise.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Functions

Function: do-add-callback PROMISE CB

Add a callback to a promise.

Package

blackbird-base

Source

promise.lisp (file)

Function: do-attach-errback PROMISE ERRBACK

Add an error handler for this promise.

Package

blackbird-base

Source

promise.lisp (file)

Function: do-promisify FN &key NAME

Turns any value or set of values into a promise, unless a promise is passed in which case it is returned.

Package

blackbird-base

Source

promise.lisp (file)

Function: run-promise PROMISE

Run all errorbacks if an error occured on the promise, or all callbacks if the promise is finished. If neither of those conditions are met, nothing happens.

Package

blackbird-base

Source

promise.lisp (file)

Function: setup-promise-forward PROMISE-FROM PROMISE-TO

Set up promise-from to send all callbacks, events, handlers, etc to the promise-to promise. This includes all current objects, plus objects that may be added later on. For instance, if you forward promise A to promise B, adding an event handler to promise A will then add it to promise B (assuming promise B has no current event handler). The same goes for callbacks as well, they will be added to the new promise-to if added to the promise-from.

Package

blackbird-base

Source

promise.lisp (file)

Function: wrap-callback CALLBACK
Package

blackbird-base

Source

promise.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Generic functions

Generic Function: promise-callbacks OBJECT
Generic Function: (setf promise-callbacks) NEW-VALUE OBJECT
Package

blackbird-base

Methods
Method: promise-callbacks (PROMISE promise)
Method: (setf promise-callbacks) NEW-VALUE (PROMISE promise)

A list that holds all callbacks associated with this promise.

Source

promise.lisp (file)

Generic Function: promise-errbacks OBJECT
Generic Function: (setf promise-errbacks) NEW-VALUE OBJECT
Package

blackbird-base

Methods
Method: promise-errbacks (PROMISE promise)
Method: (setf promise-errbacks) NEW-VALUE (PROMISE promise)

A list that holds all errbacks associated with this promise.

Source

promise.lisp (file)

Generic Function: promise-error OBJECT
Generic Function: (setf promise-error) NEW-VALUE OBJECT
Package

blackbird-base

Methods
Method: promise-error (PROMISE promise)
Method: (setf promise-error) NEW-VALUE (PROMISE promise)

Holds an error value for this promise.

Source

promise.lisp (file)

Generic Function: promise-errored OBJECT
Generic Function: (setf promise-errored) NEW-VALUE OBJECT
Package

blackbird-base

Methods
Method: promise-errored (PROMISE promise)
Method: (setf promise-errored) NEW-VALUE (PROMISE promise)

Marks if an error occured on this promise.

Source

promise.lisp (file)

Generic Function: promise-errored-p OBJECT
Package

blackbird-base

Methods
Method: promise-errored-p (PROMISE promise)

Marks if an error occured on this promise.

Source

promise.lisp (file)

Generic Function: promise-finished OBJECT
Generic Function: (setf promise-finished) NEW-VALUE OBJECT
Package

blackbird-base

Methods
Method: promise-finished (PROMISE promise)
Method: (setf promise-finished) NEW-VALUE (PROMISE promise)

Marks if a promise has been finished or not.

Source

promise.lisp (file)

Generic Function: promise-forward-to OBJECT
Generic Function: (setf promise-forward-to) NEW-VALUE OBJECT
Package

blackbird-base

Methods
Method: promise-forward-to (PROMISE promise)
Method: (setf promise-forward-to) NEW-VALUE (PROMISE promise)

Can hold a reference to another promise, which will receive
callbacks and event handlers added to this one once set. This allows a promise to effectively take over another promise by taking all its callbacks/events.

Source

promise.lisp (file)

Generic Function: promise-name OBJECT
Generic Function: (setf promise-name) NEW-VALUE OBJECT
Package

blackbird-base

Methods
Method: promise-name (PROMISE promise)
Method: (setf promise-name) NEW-VALUE (PROMISE promise)

Lets a promise be named this is good for debugging.

Source

promise.lisp (file)

Generic Function: promise-values OBJECT
Generic Function: (setf promise-values) NEW-VALUE OBJECT
Package

blackbird-base

Methods
Method: promise-values (PROMISE promise)
Method: (setf promise-values) NEW-VALUE (PROMISE promise)

Holds the finished value(s) of the promise.

Source

promise.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   B   F   L  
Index Entry  Section

B
blackbird.asd: The blackbird<dot>asd file
blackbird/package.lisp: The blackbird/package<dot>lisp file
blackbird/promise.lisp: The blackbird/promise<dot>lisp file
blackbird/syntax.lisp: The blackbird/syntax<dot>lisp file
blackbird/util.lisp: The blackbird/util<dot>lisp file

F
File, Lisp, blackbird.asd: The blackbird<dot>asd file
File, Lisp, blackbird/package.lisp: The blackbird/package<dot>lisp file
File, Lisp, blackbird/promise.lisp: The blackbird/promise<dot>lisp file
File, Lisp, blackbird/syntax.lisp: The blackbird/syntax<dot>lisp file
File, Lisp, blackbird/util.lisp: The blackbird/util<dot>lisp file

L
Lisp File, blackbird.asd: The blackbird<dot>asd file
Lisp File, blackbird/package.lisp: The blackbird/package<dot>lisp file
Lisp File, blackbird/promise.lisp: The blackbird/promise<dot>lisp file
Lisp File, blackbird/syntax.lisp: The blackbird/syntax<dot>lisp file
Lisp File, blackbird/util.lisp: The blackbird/util<dot>lisp file

Jump to:   B   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
A   C   D   F   G   L   M   P   R   S   T   W  
Index Entry  Section

(
(setf promise-callbacks): Internal generic functions
(setf promise-callbacks): Internal generic functions
(setf promise-errbacks): Internal generic functions
(setf promise-errbacks): Internal generic functions
(setf promise-error): Internal generic functions
(setf promise-error): Internal generic functions
(setf promise-errored): Internal generic functions
(setf promise-errored): Internal generic functions
(setf promise-finished): Internal generic functions
(setf promise-finished): Internal generic functions
(setf promise-forward-to): Internal generic functions
(setf promise-forward-to): Internal generic functions
(setf promise-name): Internal generic functions
(setf promise-name): Internal generic functions
(setf promise-values): Internal generic functions
(setf promise-values): Internal generic functions

A
adolist: Exported macros
aeach: Exported functions
afilter: Exported functions
aif: Exported macros
alet: Exported macros
alet*: Exported macros
all: Exported functions
amap: Exported functions
areduce: Exported functions
attach: Exported macros
attach-errback: Exported functions

C
catcher: Exported macros
chain: Exported macros
create-promise: Exported functions

D
do-add-callback: Internal functions
do-attach: Exported functions
do-attach-errback: Internal functions
do-catch: Exported functions
do-finally: Exported functions
do-promisify: Internal functions
do-tap: Exported functions

F
finally: Exported macros
finish: Exported functions
Function, aeach: Exported functions
Function, afilter: Exported functions
Function, all: Exported functions
Function, amap: Exported functions
Function, areduce: Exported functions
Function, attach-errback: Exported functions
Function, create-promise: Exported functions
Function, do-add-callback: Internal functions
Function, do-attach: Exported functions
Function, do-attach-errback: Internal functions
Function, do-catch: Exported functions
Function, do-finally: Exported functions
Function, do-promisify: Internal functions
Function, do-tap: Exported functions
Function, finish: Exported functions
Function, lookup-forwarded-promise: Exported functions
Function, make-promise: Exported functions
Function, promisep: Exported functions
Function, reset-promise: Exported functions
Function, run-promise: Internal functions
Function, setup-promise-forward: Internal functions
Function, signal-error: Exported functions
Function, wrap-callback: Internal functions

G
Generic Function, (setf promise-callbacks): Internal generic functions
Generic Function, (setf promise-errbacks): Internal generic functions
Generic Function, (setf promise-error): Internal generic functions
Generic Function, (setf promise-errored): Internal generic functions
Generic Function, (setf promise-finished): Internal generic functions
Generic Function, (setf promise-forward-to): Internal generic functions
Generic Function, (setf promise-name): Internal generic functions
Generic Function, (setf promise-values): Internal generic functions
Generic Function, promise-callbacks: Internal generic functions
Generic Function, promise-errbacks: Internal generic functions
Generic Function, promise-error: Internal generic functions
Generic Function, promise-errored: Internal generic functions
Generic Function, promise-errored-p: Internal generic functions
Generic Function, promise-finished: Internal generic functions
Generic Function, promise-finished-p: Exported generic functions
Generic Function, promise-forward-to: Internal generic functions
Generic Function, promise-name: Internal generic functions
Generic Function, promise-values: Internal generic functions

L
lookup-forwarded-promise: Exported functions

M
Macro, adolist: Exported macros
Macro, aif: Exported macros
Macro, alet: Exported macros
Macro, alet*: Exported macros
Macro, attach: Exported macros
Macro, catcher: Exported macros
Macro, chain: Exported macros
Macro, finally: Exported macros
Macro, multiple-promise-bind: Exported macros
Macro, promisify: Exported macros
Macro, tap: Exported macros
Macro, wait: Exported macros
Macro, walk: Exported macros
Macro, walk1: Exported macros
Macro, with-error-handling: Internal macros
Macro, with-promise: Exported macros
make-promise: Exported functions
Method, (setf promise-callbacks): Internal generic functions
Method, (setf promise-errbacks): Internal generic functions
Method, (setf promise-error): Internal generic functions
Method, (setf promise-errored): Internal generic functions
Method, (setf promise-finished): Internal generic functions
Method, (setf promise-forward-to): Internal generic functions
Method, (setf promise-name): Internal generic functions
Method, (setf promise-values): Internal generic functions
Method, promise-callbacks: Internal generic functions
Method, promise-errbacks: Internal generic functions
Method, promise-error: Internal generic functions
Method, promise-errored: Internal generic functions
Method, promise-errored-p: Internal generic functions
Method, promise-finished: Internal generic functions
Method, promise-finished-p: Exported generic functions
Method, promise-forward-to: Internal generic functions
Method, promise-name: Internal generic functions
Method, promise-values: Internal generic functions
multiple-promise-bind: Exported macros

P
promise-callbacks: Internal generic functions
promise-callbacks: Internal generic functions
promise-errbacks: Internal generic functions
promise-errbacks: Internal generic functions
promise-error: Internal generic functions
promise-error: Internal generic functions
promise-errored: Internal generic functions
promise-errored: Internal generic functions
promise-errored-p: Internal generic functions
promise-errored-p: Internal generic functions
promise-finished: Internal generic functions
promise-finished: Internal generic functions
promise-finished-p: Exported generic functions
promise-finished-p: Exported generic functions
promise-forward-to: Internal generic functions
promise-forward-to: Internal generic functions
promise-name: Internal generic functions
promise-name: Internal generic functions
promise-values: Internal generic functions
promise-values: Internal generic functions
promisep: Exported functions
promisify: Exported macros

R
reset-promise: Exported functions
run-promise: Internal functions

S
setup-promise-forward: Internal functions
signal-error: Exported functions

T
tap: Exported macros

W
wait: Exported macros
walk: Exported macros
walk1: Exported macros
with-error-handling: Internal macros
with-promise: Exported macros
wrap-callback: Internal functions

Jump to:   (  
A   C   D   F   G   L   M   P   R   S   T   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
C   E   F   N   S   V  
Index Entry  Section

*
*debug-on-error*: Exported special variables
*promise-finish-hook*: Exported special variables
*promise-keep-specials*: Exported special variables

C
callbacks: Exported classes

E
errbacks: Exported classes
error: Exported classes
errored: Exported classes

F
finished: Exported classes
forwarded-promise: Exported classes

N
name: Exported classes

S
Slot, callbacks: Exported classes
Slot, errbacks: Exported classes
Slot, error: Exported classes
Slot, errored: Exported classes
Slot, finished: Exported classes
Slot, forwarded-promise: Exported classes
Slot, name: Exported classes
Slot, values: Exported classes
Special Variable, *debug-on-error*: Exported special variables
Special Variable, *promise-finish-hook*: Exported special variables
Special Variable, *promise-keep-specials*: Exported special variables

V
values: Exported classes

Jump to:   *  
C   E   F   N   S   V  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   B   C   P   S  
Index Entry  Section

B
blackbird: The blackbird system
blackbird: The blackbird package
blackbird-base: The blackbird-base package
blackbird-syntax: The blackbird-syntax package
blackbird-util: The blackbird-util package

C
Class, promise: Exported classes

P
Package, blackbird: The blackbird package
Package, blackbird-base: The blackbird-base package
Package, blackbird-syntax: The blackbird-syntax package
Package, blackbird-util: The blackbird-util package
promise: Exported classes

S
System, blackbird: The blackbird system

Jump to:   B   C   P   S