Module promise

Module promise 

Source
Expand description

This module defines the PromiseStatus enum, which represents the status of a promise in the Seda runtime SDK. It can either be fulfilled with a result or rejected with an error message. The enum provides methods to handle the promise status and convert it from a core::result::Result type.

Enumsยง

PromiseStatus
Represents the status of a promise, which can either be fulfilled or rejected. This enum is returned by the host VM after executing a promise action.