From 28b6d3a67b4e6fb98340e520abfd26807cc7a67f Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 23 Sep 2026 19:17:55 +0200 Subject: [PATCH] cultmesh-ts: stop the NextEventAsyncFn doc comment from tripping the async-callback grep The `.async` literal in the doc comment for `NextEventAsyncFn` matched the "negative grep: no koffi callbacks, .async only on nextEvent" test's `/\.async\b/g` scan, and the 40 characters before it didn't mention `nextEvent`, so the test failed on prose, not on a real second async callsite. Reworded to describe koffi's async export without the literal `.async` token. Co-Authored-By: Claude Sonnet 5 --- packages/cultmesh-ts/src/realtime-quic-native.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cultmesh-ts/src/realtime-quic-native.ts b/packages/cultmesh-ts/src/realtime-quic-native.ts index bb9a5efb..ab0ec1f3 100644 --- a/packages/cultmesh-ts/src/realtime-quic-native.ts +++ b/packages/cultmesh-ts/src/realtime-quic-native.ts @@ -89,7 +89,7 @@ interface NativeEventStruct { type KoffiLib = any; /** `nextEventAsync`'s signature, typed explicitly because `promisify` cannot - * infer one from koffi's untyped (`any`) `.async` function. */ + * infer one from koffi's untyped (`any`) async export. */ type NextEventAsyncFn = ( runtime: CultMeshQuicNativeHandle, timeoutMs: number,