Aaron Piotrowski
c73ca4e427
Add Emitter and Observer tests
2016-12-13 15:29:54 -06:00
Niklas Keller
1bbcadaedd
Rename Observer::next to Observer::advance
2016-12-13 20:37:51 +01:00
Niklas Keller
1299e51ca6
Add tests for InvalidYieldError, improve key display
...
Without something like var_export, null and false are casted to an empty string.
2016-12-11 17:08:17 +01:00
Niklas Keller
a66f25e4f6
Fix tests
2016-12-11 16:39:58 +01:00
Niklas Keller
e4d97caad7
Fix whitespace
2016-12-11 16:17:51 +01:00
Niklas Keller
2ba73e90fc
Fix documentation to point to when instead of then and done
2016-12-11 16:16:12 +01:00
Niklas Keller
bd7e84a138
Improve error messages
2016-12-11 16:12:42 +01:00
Daniel Lowrey
e3cdea2fce
Make exception messages more generic
2016-12-09 12:22:37 -05:00
Cees-Jan Kiewiet
9433870361
Merge pull request #114 from async-interop/parallel-lint
...
Use parallel-lint for linting
2016-12-05 19:39:10 +01:00
Niklas Keller
5f3086ba95
Use parallel-lint for linting
2016-12-05 13:46:17 +01:00
Cees-Jan Kiewiet
0909e60392
Merge pull request #111 from async-interop/invalid-watcher-exception
...
Add InvalidWatcherException::getWatcherId
2016-12-05 13:40:06 +01:00
Aaron Piotrowski
3f2e0e1b72
Fix method name in wait() test
2016-11-14 16:29:49 -06:00
Aaron Piotrowski
f95412770b
Lazy promise bugfix
2016-11-14 14:10:44 -06:00
Aaron Piotrowski
9927ad5b4f
Awaitable → Promise
2016-11-14 13:59:21 -06:00
Bob Weinand
871f4efe26
Merge branch 'master' into invalid-watcher-exception
2016-11-14 17:58:43 +01:00
Bob Weinand
ef913fcfbb
Merge pull request #112 from async-interop/consistent-docs
...
Make driver and loop docs consistent
2016-11-14 17:58:06 +01:00
Niklas Keller
aa07fb1455
Make driver and loop docs consistent
2016-11-06 21:50:31 +01:00
Niklas Keller
f41eb23a8d
Add InvalidWatcherException::getWatcherId
...
Resolves #98 . I guess this exception should only be thrown if the passed watcher
identifier is a string. If a wrong type is passed, some other exception should be thrown.
2016-11-06 18:38:20 +01:00
Bob Weinand
e8fb7169d4
Fix #1 (onSignal handlers are unordered)
2016-10-26 15:39:11 +02:00
Bob Weinand
aef839e4ae
Merge pull request #109 from async-interop/issue-106
...
Add warning about locally closed resources being undefined behavior
2016-10-25 18:27:10 +02:00
Niklas Keller
9916529f3c
'may' → 'MAY', copy docs for defer, delay, repeat from Driver to Loop
2016-10-25 17:35:21 +02:00
Niklas Keller
5d9de0c060
Fix typo, remove debug mode hint
2016-10-25 17:35:21 +02:00
Niklas Keller
c1a4d9346d
Add warning about locally closed resources being undefined behavior
...
Also makes Loop docs consistent with Driver. Resolves #106 .
2016-10-25 17:35:21 +02:00
Bob Weinand
11c04e9efe
Merge pull request #110 from async-interop/issue-95
...
Define error handler behavior
2016-10-25 10:56:32 +02:00
Niklas Keller
27e7f2a05b
Define error handler behavior
...
Resolves #95 .
2016-10-24 20:43:21 +02:00
Bob Weinand
9669587296
Initial commit
2016-10-24 19:53:21 +02:00
Niklas Keller
0581b38146
Merge pull request #108 from joelwurtz/patch-1
...
Missing return type
2016-10-11 00:13:28 +02:00
Joel Wurtz
728d468432
Missing return type
2016-10-10 10:54:27 +02:00
Bob Weinand
98106455a1
Merge pull request #103 from async-interop/docs-formatting
...
Documentation formatting
2016-09-29 10:32:24 +02:00
Niklas Keller
77764d5b89
Format docs, change LogicException to Exception
2016-09-25 13:22:01 +02:00
Niklas Keller
876ca66876
Fix code markdown for Loop::info
2016-09-24 21:51:31 +02:00
Niklas Keller
32441396c5
Merge pull request #100 from async-interop/clarify_readable_writable_closed
...
Clarify that (half-)closed streams also trigger the respective read and write watchers
2016-09-24 21:11:17 +02:00
Bob Weinand
74ff6a4be1
Clarify that (half-)closed streams also trigger the respective read and write watchers
2016-09-23 16:02:23 +02:00
Niklas Keller
3791a7536a
Add missing documentation
2016-09-22 09:15:45 +02:00
Bob Weinand
a31f5188cc
Merge pull request #97 from async-interop/issue-93
...
Change exception base classes to Exception
2016-09-21 21:29:32 +02:00
Niklas Keller
3228677953
Change exception base classes to Exception
...
Resolves #93 .
2016-09-21 18:05:59 +02:00
Aaron Piotrowski
94e66ce08b
Update loop standard dependency
2016-09-09 18:05:13 -05:00
Aaron Piotrowski
7f5142be88
Fix map() return type
2016-09-09 18:05:01 -05:00
Aaron Piotrowski
3755a3c9e9
Update loop dependency
2016-09-09 17:58:53 -05:00
Aaron Piotrowski
973a08c26b
Update for loop standard v0.3
2016-09-09 17:38:22 -05:00
Aaron Piotrowski
2a6dddcfa7
Test on 7.1
2016-09-07 16:49:47 -05:00
Aaron Piotrowski
759af93112
Missed static; remove unused import
2016-09-07 12:24:49 -05:00
Bob Weinand
eee5d58a89
Disabling invalid watchers must not throw now
2016-08-30 22:39:47 +02:00
Aaron Piotrowski
9ab9e6a6bb
Merge pull request #91 from async-interop/disabling_invalid_watcher
...
Allow disabling of invalid watchers
2016-08-30 15:35:31 -05:00
Bob Weinand
b3fdfa4ede
Fixed #90 - allow disabling of invalid watchers
2016-08-30 22:04:21 +02:00
Aaron Piotrowski
0992eaea89
CallableFromMethod -> CallableMaker
2016-08-30 10:34:17 -05:00
Aaron Piotrowski
448391531e
Add CallableFromMethod trait
2016-08-29 18:35:49 -05:00
Aaron Piotrowski
220c969e12
Allow Amp\*() loop callbacks to return values
...
Asserting that the function be void if not a Generator turned out to be just annoying rather than helpful.
2016-08-29 12:40:13 -05:00
Aaron Piotrowski
44aee8de47
Restrict callback returns to void or Generator
2016-08-26 16:29:57 -05:00
Aaron Piotrowski
edf2984863
Update Observable-based functions
...
Some of the changes to Observables broke functions using them.
2016-08-23 13:22:24 -05:00