Skip to content

API reference > @kontsedal/olas-codemod > ctxPrimitives

ctxPrimitives variable ​

The lifetime-owned primitives are free functions that take ctx first, and ctx.signal / ctx.computed are the standalone signal / computed. Each rewrite imports the function from @kontsedal/olas-core.

Signature:

typescript
ctxPrimitives: Transform

Released under the MIT License.