Add isPending, deprecate isResolved

Fixes #164