We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0ef097 commit 30355c0Copy full SHA for 30355c0
1 file changed
ffi/ffi_events.nim
@@ -233,6 +233,7 @@ template enqueueOrMarkStuck(
233
if not ffiCurrentNotifyEventEnqueued.isNil():
234
ffiCurrentNotifyEventEnqueued()
235
236
+template dispatchFFIEvent*(eventName: string, body: untyped) =
237
## `body` must yield `string` / `seq[byte]`. FFI thread only: encodes into
238
## a `c_malloc` buffer and enqueues; the event thread fans out to listeners.
239
block:
0 commit comments