File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 66[ ![ JSDocs] [ jsdocs-src ]] [ jsdocs-href ]
77[ ![ License] [ license-src ]] [ license-href ]
88
9- Create sync/async APIs with same, usable logic.
9+ Create sync/async APIs with usable logic.
1010
11- ** Quan** tum + ** Sync** - A "superposition " between ` sync ` and ` async ` .
11+ ** Quan** tum + ** Sync** - " _ Superposition _ " between ` sync ` and ` async ` .
1212
1313- Typesafe
1414- ESM, modern JavaScript
Original file line number Diff line number Diff line change 33 "type" : " module" ,
44 "version" : " 0.0.0" ,
55 "packageManager" : " pnpm@10.2.1" ,
6- "description" : " Create sync/async APIs with same, usable logic" ,
6+ "description" : " Create sync/async APIs with usable logic" ,
77 "author" : " Anthony Fu <anthonyfu117@hotmail.com>" ,
88 "license" : " MIT" ,
99 "funding" : " https://github.com/sponsors/antfu" ,
1313 "url" : " git+https://github.com/antfu/quansync.git"
1414 },
1515 "bugs" : " https://github.com/antfu/quansync/issues" ,
16- "keywords" : [],
16+ "keywords" : [
17+ " async" ,
18+ " sync" ,
19+ " generator"
20+ ],
1721 "sideEffects" : false ,
1822 "exports" : {
1923 "." : " ./dist/index.mjs"
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ export interface QuansyncYield<R> {
1616export type QuansyncGenerator < Return = any , Yield = any > =
1717 Generator < QuansyncYield < Yield > , Return , Yield >
1818
19+ /**
20+ * "Superposition" between async and sync.
21+ */
1922export type QuansyncFn < Args extends any [ ] = [ ] , Return = any > =
2023 ( ( ...args : Args ) => QuansyncGenerator < Return > )
2124 & {
You can’t perform that action at this time.
0 commit comments