From 76443698018bb8853960962f27d3745eb604490e Mon Sep 17 00:00:00 2001
From: Rafael Vuijk
Date: Sun, 25 Oct 2026 18:42:54 +0000
Subject: [PATCH] Try online names AsyncLocal and SetLocalCancellationToken
as code
The multithreading paragraph wrote AsyncLocal unescaped, so the browser read as an element. The page said "we use AsyncLocal instead", and the element held the rest of the paragraph. It also named "MathS Multithreading SetLocalCancellationToken (CancellationToken)", with spaces where the dots go. Both names are now code: AsyncLocal<T> and MathS.Multithreading.SetLocalCancellationToken, without the parameter list, which the sentence already gives ("pass your token") and which made the name too long for the column at 1280px.
Co-Authored-By: Claude Opus 5.5 (1M context)
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
---
src/content/demo/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/content/demo/index.html b/src/content/demo/index.html
index e32e54b71..ad845a818 100644
--- a/src/content/demo/index.html
+++ b/src/content/demo/index.html
@@ -239,7 +239,7 @@
- There is also support of cancellation a task. However, to avoid injecting the cancellation token argument into all methods, we use AsyncLocal instead. That is why instead of passing your token to all methods what you need is to pass it once to the MathS Multithreading SetLocalCancellationToken (CancellationToken) method.
+ There is also support of cancellation a task. However, to avoid injecting the cancellation token argument into all methods, we use AsyncLocal<T> instead. That is why instead of passing your token to all methods what you need is to pass it once to the MathS.Multithreading.SetLocalCancellationToken method.
Example