callback

noun
UK /ˈkɔːlbæk/
US /ˈkɔːlbæk/

A callback is a function you give to another function so it can call it later.

The button uses a callback to run your code when someone clicks it.


OTHER MEANINGS

2. A phone call made back to someone who called earlier.

I missed your call, so I'll give you a callback after lunch.

3. An invitation to return for a second audition or interview.

She got a callback for the lead role in the school play.

4. A joke or line that refers back to something said earlier.

The comedian's callback to his first joke made everyone laugh again.