Files
kaizen/examples/asyncio/01-load-bitmaps
iris 206dcdedf1 Squashed 'external/SDL/' content from commit 4d17b99d0a
git-subtree-dir: external/SDL
git-subtree-split: 4d17b99d0a1c33c5257063b098f883c669ade40b
2026-04-02 14:13:02 +02:00
..

This example code loads a few bitmap files from disk using the asynchronous
i/o, and then draws it to the window. It uses a task group to watch multiple
reads and deal with them in whatever order they finish.

Note that for a single tiny file like this, you'd probably not want to bother
with async i/o in real life, but this is just an example of how to do it.