What does “thunk” mean?
-
noun
A small piece of code that delays a computation
A thunk holds a call to a function until it is needed.
-
noun
One function wrapped to delay its execution
The program creates a thunk to run the operation later.
Word forms
thunks
Often used as
- a_thunk defers computation
- thunk wraps a function
- use a thunk here
- thunk delays evaluation
Related words and nuances
- delay
- wrapper
- stub
- delayment
- latency
- gast