Skip to content

OnceCallback: Callback Design Lessons from Chromium

This directory systematically covers the design of modern C++ callback systems by implementing a Chromium-style OnceCallback component. The content is divided into two learning paths:

Complete Beginner Tutorial (full/)

Tailored for readers with no prior experience, starting with a review of fundamental C++ features and gradually guiding them to a complete component implementation.

Prerequisites (7 articles):

Hands-on Practice (6 articles):

Advanced Design Guide (hands_on/)

Tailored for readers experienced with C++ templates, providing a quick walkthrough of the design motivation, implementation strategies, and test verification.

Built with VitePress