summary refs log tree commit diff stats
path: root/lib/js/asyncjs.nim
Commit message (Collapse)AuthorAgeFilesLines
* Remove define for jsfetch (#19530)Juan Carlos2022-02-251-88/+88
| | | | | | | | | * Remove define nimExperimentalAsyncjsThen for std/asyncjs.then and std/jsfetch * Remove define nimExperimentalAsyncjsThen for std/asyncjs.then and std/jsfetch * Remove define nimExperimentalAsyncjsThen for std/asyncjs.then and std/jsfetch * Remove define nimExperimentalAsyncjsThen for std/asyncjs.then and std/jsfetch
* `typeof(voidStmt)` now works (#17807)Timothee Cour2021-04-231-5/+2
| | | | | | | | * `typeof(voidStmt)` now works * remove typeOrVoid * add condsyms, and reference cligen https://github.com/c-blake/cligen/pull/193 * fixup * changelog [skip ci] * fixup
* Use importjs (#17422)konsumlamm2021-03-191-4/+4
|
* followup #16871 asyncjs.then: allow pipelining procs returning futures (#17189)Timothee Cour2021-03-041-21/+58
| | | | | | | | | | * followup #16871 asyncjs.then: allow pipelining procs returning futures * rename test files where they belong * fix tests * tests for then with `onReject` callback * rename test file containing fail to avoid messing with grep * address comments * cleanup * un-disable 1 test
* fix #17177 (#17243)flywind2021-03-031-2/+3
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * fix #17177 * add testcase
* asyncjs: add `then`, `catch` for promise pipelining (#16871)Timothee Cour2021-02-241-3/+66
| | | | | | * asyncjs: add then * improve tests, changelog, API * fix cryptic windows error: The parameter is incorrect * address comments
* clean up the docs of some modules under lib/js (#16579)flywind2021-01-041-15/+15
|
* Fix header inconsistencies in documentation (#11071)Zed2019-04-231-1/+1
|
* Minor fixes for asyncjs (#8894)LemonBoy2018-09-071-4/+12
| | | | | | | | | | * Minor fixes for asyncjs Mark internal procedures as used Allow .async. for more node kinds Make .async. work for nkStmtList * Fix logic error in both the async macros
* Use addPragmaAlexander Ivanov2018-03-051-5/+1
|
* Stop replacing all pragmas of a function with asyncjsAlexander Ivanov2018-03-031-1/+6
|
* Fix return (#7225)Alexander Ivanov2018-02-271-6/+8
|
* Unify async macro and futures for js and native targetsYuriy Glukhov2018-01-051-0/+4
|
* Fix docs!Alexander Ivanov2017-12-201-2/+2
|
* Fix forwardAlexander Ivanov2017-12-191-13/+18
|
* Make asyncjs Future[void] play nicely with last line discardable callsAlexander Ivanov2017-12-191-3/+29
|
* added asyncjs standard library module (#6841)Alexander Ivanov2017-12-191-0/+110