Lazily listen for quit-application on the first sync-async call and bail out if the notification is sent while waiting for the callback.
Edward Lee
contributed 15 years ago
|
5d78514057
|
Write setTimeout nsITimer.notify in a way that keeps the timer object alive.
Edward Lee
contributed 15 years ago
|
16d580cbb6
|
Change cb.fail() cb.throw() that also throws the data passed in to stop the caller execution.
Edward Lee
contributed 15 years ago
|
05072bef57
|
Allow async. functions to trigger an exception at the sync. function caller by doing onComplete.fail().
Edward Lee
contributed 15 years ago
|
4274660782
|
Prevent outside access to internal callback data but still allow Sync to access that data.
Edward Lee
contributed 15 years ago
|
36812061e3
|
Remove Sync().onComplete functionality changing ability and replace with Sync.withCb().
Edward Lee
contributed 15 years ago
|
86c252fdd0
|
Allow sync. functions to be called more than once and have each sync. invocation instance separate from each other.
Edward Lee
contributed 15 years ago
|
c7d60c5259
|
Remove Function.prototype.sync/bind and Sync.sync and replace with just Sync as the one-simple-great way to make things sync.
Edward Lee
contributed 15 years ago
|
f9c1c37881
|
Allow extracting of the sync. function callback to make the sync. call not inject the callback.
Edward Lee
contributed 15 years ago
|
f8bd77382b
|
Add Function.prototype.syncBind to allow binding of this to the sync. function.
Edward Lee
contributed 15 years ago
|
2625a164cc
|
Add Sync.sync as another way to make sync. functions (in addition to Function.prototype).
Edward Lee
contributed 15 years ago
|
6ec3904ebb
|
Just implement Sync.sleep with sleep.sync instead wrapping it first.
Edward Lee
contributed 15 years ago
|
e914e6d749
|
Directly add additional properties to Sync instead of overwriting __proto__.
Edward Lee
contributed 15 years ago
|
fe9be233b5
|
Change boilerplate of Function.prototype.sync = Sync.sync to just Sync(Function).
Edward Lee
contributed 15 years ago
|
1329d81eba
|
Convert sync to single line comments and lets
Edward Lee
contributed 15 years ago
|
27eaf827b2
|
test using the Sync.sync method added to the Function prototype to create our own 'synchronous asynchronous' function; simplify Sync.sleep implementation, removing unnecessary callback indirection
Myk Melez
contributed 15 years ago
|
4e15eb9ae3
|
initial implementation of Sync module for doing asynchronous operations in a synchronous fashion
Myk Melez
contributed 15 years ago
|
c8a38f831d
|