software-engineering

Definition

Function Colouring

Function colouring is a term used to describe the challenge in programming languages where functions are divided into two distinct “colours”: synchronous and asynchronous. The core problem is that these two types of functions don’t mix well, and calling an async function from a sync function is often difficult or impossible without “colouring” the calling function async as well.

What Color is Your Function? – journal.stuffwithstuff.com