Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ampPublic

2.0.0

Choose a tag to compare

@kelunikkelunik released this 15 Jun 15:52
· 489 commits to 3.x since this release
v2.0.0
This tag was signed with the committer’sverified signature.
kelunik Niklas Keller
GPG key ID:AFA536ABA90C76A6
Verified
Learn about vigilant mode.
  • Amp\reactor() has been replaced withAmp\Loop::set() andAmp\Loop::get().
  • Amp\driver() has been replaced withAmp\Loop\Factory::create().
  • Amp\tick() no longer exists and doesn't have a replacement. Ticks are an internal detail.
  • Functions for creating and managing watchers are now static methods ofAmp\Loop instead of functions in theAmp namespace.
    • once() is nowdelay() andimmediately() isdefer().
    • Parameter order fordelay() andrepeat() has been changed.
    • reference() andunreference() have been added.
  • Amp\Pause has been renamed toAmp\Delayed and accepts an optional resolution value now. Additionallyreference() andunreference() methods have been added.
  • Promise accepting functions have been moved to theAmp\Promise namespace.
  • Amp\Promise\some() accepts an additional$required parameter.
  • Amp\call(),Amp\asyncCall(),Amp\coroutine() andAmp\asyncCoroutine() have been added.
  • Amp\resolve() has been removed, useAmp\call() instead.
  • Promise::when() has been renamed toPromise::onResolve()
  • Promise::watch() has been removed, useAmp\Iterator,amphp/byte-stream or a custom implementation that implementsAmp\Promise instead and provides dedicated APIs to access the previously data shared via thewatch() mechanism.
  • Amp\Iterator,Amp\Emitter andAmp\Producer have been added with several functions in theAmp\Iterator namespace.
  • Various other changes.
Assets2
Loading

[8]ページ先頭

©2009-2025 Movatter.jp