This will let frameworks besides Future work seamlessly with promise pipes and Shiny's reactives and ExtendedTask.
Question: Should is.promising.default look for an as.promise method for the object? That would be the easiest, but would potentially be slow (we could maybe get clever about caching results [would we have to invalidate that cache when the list of loaded namespaces changes?]).
This will let frameworks besides Future work seamlessly with promise pipes and Shiny's reactives and ExtendedTask.
Question: Should
is.promising.default
look for anas.promise
method for the object? That would be the easiest, but would potentially be slow (we could maybe get clever about caching results [would we have to invalidate that cache when the list of loaded namespaces changes?]).