Skip to content

How does reactiveweb's getPromiseState compare with @warpdrive/ember's getPromiseState? #166

@abeforgit

Description

@abeforgit

In reactiveweb's docs on getPromiseState, we see this sentence:

NOTE: This getPromiseState is not a replacement for WarpDrive's getRequestState namely, the getPromiseState in this library (reactiveweb) does not support futures, cancellation, or anything else specific to warp-drive.

That makes sense of course, they're two different functions. But more confusing is the fact that warpdrive also provides a getPromiseState function:
https://www.npmjs.com/package/@warp-drive/ember#getpromisestate

Now, having the same function implemented by two libraries is not normally an issue, they're just 2 different functions. But given both your and @runspired 's status as ember household names, and with the RFC proposal, perhaps a little extra clarification is in order?

E.g.: if I already have one of the libraries, are there still reasons to install the other? If I already have both, which implementation should I prefer, or are there particular reasons to prefer one over the other?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions