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.