From 608e0a43d6cd7e1238b2cb5ba884091557e71031 Mon Sep 17 00:00:00 2001 From: Almar Klein Date: Wed, 19 Nov 2025 16:01:22 +0100 Subject: [PATCH] More fixes to the docs. --- docs/start.rst | 2 +- from_wgpu_canvas.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/start.rst b/docs/start.rst index 4726b58..85676ec 100644 --- a/docs/start.rst +++ b/docs/start.rst @@ -127,7 +127,7 @@ Async ----- A render canvas can be used in a fully async setting using e.g. Asyncio or Trio, or in an event-drived framework like Qt. -If you like callbacks, ``loop.call_later()`` always works. If you like async, use ``loop.add_task()``. Event handlers can always be async. +If you like callbacks, ``loop.call_later()`` always works. If you like async, use ``loop.add_task()``. If you make use of async functions (co-routines), and want to keep your code portable across different canvas backends, restrict your use of async features to ``sleep`` and ``Event``; diff --git a/from_wgpu_canvas.md b/from_wgpu_canvas.md index 8b3483c..e3cb5d5 100644 --- a/from_wgpu_canvas.md +++ b/from_wgpu_canvas.md @@ -21,10 +21,9 @@ This document lists all the changes w.r.t. the last version of the canvas in wgp * Bitmap rendering via builtin`canvas.get_bitmap_context()`. * Handling of sigint (ctrl+c). * Support for Trio. -* Support for async event handlers. * Support for running async functions via `loop.add_task()`. * Simpler Qt lib selection with `from rendercanvas.pyside6 import RenderCanvas`. -* Generic scheduling system with modes "ondemand", "continious", "fastest". +* Generic scheduling system with modes "ondemand", "continuous", "fastest". ## By example