This module implements the Isolated[T] type for safe construction of isolated subgraphs that can be passed efficiently to different channels and threads.
func isolate[T](value: sink T): Isolated[T] {.magic: "Isolate", ...raises: [],
tags: [], forbids: [].}Creates an isolated subgraph from the expression value. Isolation is checked at compile time.
Please read https://github.com/nim-lang/RFCs/issues/244 for more details.
Source Edit
© 2006–2024 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/isolation.html