What is thunk function?

In computer programming, a thunk is a subroutine used to inject a calculation into another subroutine . Thunks are primarily used to delay a calculation until its result is needed, or to insert operations at the beginning or end of the other subroutine.

Read more