axiom-assume-isolated

Community

Synchronous actor access for tests.

Authortuliopc23
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a way to synchronously access actor-isolated state when you are certain you are already on the correct actor's execution context, avoiding unnecessary async/await overhead.

Core Features & Use Cases

  • Synchronous Actor Access: Safely execute operations on an actor from within the actor's own context without await.
  • Testing: Ideal for testing code that relies on MainActor isolation without the overhead of Task.
  • Legacy Code: Useful for integrating with older delegate patterns that guarantee execution on a specific thread.
  • Performance-Critical Code: Reduces overhead in performance-sensitive sections by avoiding asynchronous hops.

Quick Start

Use MainActor.assumeIsolated to synchronously update the UI from the main thread.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: axiom-assume-isolated
Download link: https://github.com/tuliopc23/flying-dutchman-app/archive/main.zip#axiom-assume-isolated

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.