DEV Community

Calvin
Calvin

Posted on

Reading Snippets [33 => Callback]

Callback functions determine the order that different actions occur. This allows empowers a programmer to be more flexible in their approach to the execution of actions.

Instead of being forced to create one long, consecutive string of commands, a programmer can ensure that one action happens after another.

Source:Code Analogies

Top comments (0)