The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Promise::XS::Promise - promise object

SYNOPSIS

See Promise::XS.

DESCRIPTION

This is Promise::XS’s actual promise object class. It implements these methods:

  • then()

  • catch()

  • finally()

… which behave as they normally do in promise implementations.

NOTES

Subclassing this class won’t work because the above-named methods always return instances of (exactly) this class. That may change eventually, but for now this is what’s what.