- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/thunks/thunks
软件介绍
thunks 是一个虽小但却很有用的软件,它可用来封装所有异步函数。
概述:
thunk是一个被封装了同步或异步任务的函数;thunk有唯一一个参数callback,是 CPS 函数;thunk运行后返回新的thunk函数,形成链式调用;thunk自身执行完毕后,结果进入callback运行;callback的返回值如果是thunk函数,则等该thunk执行完毕将结果输入新thunk函数运行;如果是其它值,则当做正确结果进入新的thunk函数运行;
Data Structures and Algorithms
Alfred V. Aho、Jeffrey D. Ullman、John E. Hopcroft / Addison Wesley / 1983-1-11 / USD 74.20
The authors' treatment of data structures in Data Structures and Algorithms is unified by an informal notion of "abstract data types," allowing readers to compare different implementations of the same......一起来看看 《Data Structures and Algorithms》 这本书的介绍吧!
