You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #745 [Platform] Rename to DeferredResult and explicit contract instead of closure (chr-hertel)
This PR was merged into the main branch.
Discussion
----------
[Platform] Rename to `DeferredResult` and explicit contract instead of closure
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| Docs? | no
| Issues |
| License | MIT
* Renaming `ResultPromise` to `DeferredResult` since the interface is not really promise-like
* Replacing the `\Closure` with `ResultConverterInterface` in constructor
Alternative names
* `ResultFactory` => is it a factory?
* `ResultBuilder` => is it a builder?
* `LazyResult` => would expect the same interface as the Result
* `ResultProxy` => would expect the same interface as the Result
* `WrappedResult` => i like wraps
* `ResultContainer` => might confuse with _the_ container
* `ResultHandle` => ?
Commits
-------
503ac87 Rename to DeferredResult and explicit contract instead of closure
0 commit comments