1
0
mirror of https://github.com/danog/amp.git synced 2024-12-15 02:47:30 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Lowrey
1d9d572ee5 promise updates are no longer variadic + misc formatting 2015-07-27 10:08:02 -04:00
Daniel Lowrey
7335cb2517 use explicit FQDN for compile time optimizations 2015-07-22 13:54:29 -04:00
Daniel Lowrey
4d4e9bad32 Replace BaseException refs with Throwable 2015-07-07 10:15:57 -04:00
Daniel Lowrey
1ac3d96d24 Remove Exception hint because it breaks on PHP7 BaseException 2015-06-08 15:11:17 -04:00
Daniel Lowrey
954eaabcf5 Make promise updates variadic (ugly) 2015-05-31 19:33:55 -04:00
Daniel Lowrey
fc600d46ab Pass optional data parameter to when/watch callbacks 2015-05-19 18:49:38 -04:00
Daniel Lowrey
30245d6817 Add optional callback data param in Deferred::__construct() 2015-05-19 11:16:04 -04:00
Daniel Lowrey
68719d8023 Unresolved -> PrivatePlaceholder 2015-05-19 00:29:27 -04:00
Daniel Lowrey
3af013d418 Expose boolean AMP_DEBUG for performance tuning
Amp Future instances double both as Promisor and Promise
implementations when AMP_DEBUG is defined and set to false.
This switch allows private Promise resolution safety by
default at the expense of performance.

Amp applications should set AMP_DEBUG to false in production
environments to maximize performance.
2015-05-18 23:57:34 -04:00