What is a 'thunk'?

后端 未结 10 899
日久生厌
日久生厌 2020-11-28 01:42

I\'ve seen it used in programming (specifically in the C++ domain) and have no idea what it is. Presumably it is a design pattern, but I could be wrong. Can anyone give a go

10条回答
  •  渐次进展
    2020-11-28 02:01

    Per Kyle Simpson's definition, a thunk is a way to abstract the component of time out of asynchronous code.

提交回复
热议问题