Add a way to identify reject handlers for use by Transponders to reject Promises #22
Labels
devxp
development experience
pkg: koa
corresponds to the @tao.js/koa package
pkg: utils
corresponds to the @tao.js/utils package
It would be useful if when using a
Transponder
to generate aPromise
from asetCtx
orsetAppCtx
call, a set of filtered trigrams could be used to identify when the promise should be rejected.This is useful for clients working with the network that are still promise-based implementations and wish to use promise rejection as a status that things went wrong and act accordingly.
The text was updated successfully, but these errors were encountered: