tl;dr Continuation Chain (aka Continuation-Passing Strategy) is either a hybrid pattern (50% Chain of Responsibility, 50% Strategy) or its own beast entirely, but it's appearing enough in other languages that it makes sense to include it as a new pattern in the catalog, I think.

Problem

Context

Solution

Some questions arise out of this:

Implementations

Consequences

A Continuation Chain tends to lead to several consequences:

Variations

A couple of different takes on the Continuation Chain include:

Last updated: 25 February 2022

Tags: pattern   behavioral