Merged
Merged
Conversation
WyriHaximus
changed the title
[WIP] Forward compatibility with react/promise 3
Forward compatibility with react/promise 3
| { | ||
| $deferred = new Deferred(function () use (&$promise) { | ||
| if ($promise instanceof CancellablePromiseInterface) { | ||
| if ($promise instanceof CancellablePromiseInterface || (method_exists($promise, 'cancel') && $promise instanceof PromiseInterface)) { |
clue approved these changes Apr 27, 2020
jsor approved these changes Apr 28, 2020
clue
mentioned this pull request
Merged
This was referenced
Sep 5, 2022Merged
Merged
clue
mentioned this pull request
Merged