This module implements the Isolated[T] type for safe construction of isolated subgraphs that can be passed efficiently to different channels and threads.
Warning:
This module is experimental and its interface may change.
Procs
proc `=destroy`[T](dest: var Isolated[T]) {.inline, ...raises: [].}
- Source Edit
func unsafeIsolate[T](value: sink T): Isolated[T]
-
Creates an isolated subgraph from the expression value.Warning: The proc doesn't check whether value is isolated.Source Edit