Afshin Darian
|
1480823027
Add more poll tests.
|
6 年之前 |
Afshin Darian
|
0f01313661
Clean up poll API and handle waiting for `when` promise to resolve.
|
6 年之前 |
Afshin Darian
|
b7065c5bb0
Add documentation notes that indicate poll ticks as little as it can.
|
6 年之前 |
Afshin Darian
|
6a437c170e
Clean up poll dispose.
|
6 年之前 |
Afshin Darian
|
d5ee4e3955
Add poll start and stop methods.
|
6 年之前 |
Afshin Darian
|
76e4b5fcea
Simplify poll class, continued.
|
6 年之前 |
Afshin Darian
|
543f89a6fd
Simplify poll class.
|
6 年之前 |
Afshin Darian
|
582966c38a
Use poll in status bar memory usage.
|
6 年之前 |
Afshin Darian
|
925860ddb5
Use variable name "poll" and "next" for PromiseDelegate instances coherently.
|
6 年之前 |
Afshin Darian
|
efb14f6c09
#refresh() should return a promise.
|
6 年之前 |
Afshin Darian
|
a8bb3a3c75
Update poll documentation.
|
6 年之前 |
Afshin Darian
|
9ec535117c
Remove `Poll.Next` concept and simply resolve #next and #refresh() promises to the poll instance itself. Allows returned promises to be self-contained for following the chain. Emit ticks after promise resolution.
|
6 年之前 |
Afshin Darian
|
5b32d95b96
Synchronize poll state, ticks, and next promise resolutions.
|
6 年之前 |
Afshin Darian
|
37539941ea
More simplification and clean up of poll class.
|
6 年之前 |
Afshin Darian
|
8fb9dd336e
Update polling API, simplify signals. Reveal more state.
|
6 年之前 |
Afshin Darian
|
7b5fe9d268
Change `schedule` to `origin`; it is clearer.
|
6 年之前 |
Afshin Darian
|
9b43abb027
#next can always return a call to schedule and rely on that function to return the outstanding promise.
|
6 年之前 |
Afshin Darian
|
a3804767e2
Add initial poll test.
|
6 年之前 |
Afshin Darian
|
79dc3fb275
Audit disposed flag after every asynchronous action. Catch promise rejection in dispose method.
|
6 年之前 |
Afshin Darian
|
48d6747cd0
Since connected is always available, make it a public attribute instead of only passing it into the promise factory.
|
6 年之前 |
Afshin Darian
|
fb40f463cd
Clean up poll class.
|
6 年之前 |
Afshin Darian
|
c9250074f5
Remove `_ready` and `_isReady` and instead set _outstanding in the poll constructor.
|
6 年之前 |
Afshin Darian
|
3184488e26
Better document Poll#next.
|
6 年之前 |
Afshin Darian
|
d40a63f36e
More clean up and async in services.
|
6 年之前 |
Afshin Darian
|
7fd8b0369e
Use poll refresh to trigger terminal manager refresh.
|
6 年之前 |
Afshin Darian
|
c5dd25616c
Add schedule from `standby` state.
|
6 年之前 |
Afshin Darian
|
d0a827a1bd
Clean up.
|
6 年之前 |
Afshin Darian
|
d66e055723
Re-schedule poll execution if document is hidden.
|
6 年之前 |
Afshin Darian
|
1ce6bec21d
Emit signals only after the next poll promise is scheduled.
|
6 年之前 |
Afshin Darian
|
231f57657b
Update poll chain logic.
|
6 年之前 |