endo icon indicating copy to clipboard operation
endo copied to clipboard

feat(marshal): Allow promise stand-ins

Open gibson042 opened this issue 3 years ago • 3 comments

Stacked on #1311

Fixes #1312

This is the most restrictive solution, in which a pseudo-promise is not allowed to have any properties or methods (although that may be relaxed in the future to support a then method and/or settlement/resolution data).

TODO:

  • [ ] combine promise and safe-promise helpers (after #1310 )

gibson042 avatar Oct 11 '22 19:10 gibson042

@gibson042 since this is stacked on #1311 , I edited the github PR to compare to #1311 's fork for easier reviewability. If this is not appropriate, feel free to change back.

(#1311 has since been merged, so this note is no longer relevant)

erights avatar Oct 11 '22 20:10 erights

@mhofman I just created the label pseudo-promise and labeled this PR with that label, to keep track of PRs and issues relevant for thinking about possible pseudo-promise semantics.

erights avatar Nov 18 '22 23:11 erights

Is this PR still relevant as a possible step towards virtual and durable promises?

erights avatar Sep 26 '25 19:09 erights