Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a proposal for configuring default actor isolation per module. #2667

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hborla
Copy link
Member

@hborla hborla commented Jan 27, 2025

No description provided.

@hborla hborla force-pushed the control-default-actor-isolation branch from a302612 to 154f693 Compare January 27, 2025 12:37
@hborla hborla force-pushed the control-default-actor-isolation branch from 154f693 to 99a8f17 Compare January 27, 2025 12:54
proposals/NNNN-control-default-actor-isolation.md Outdated Show resolved Hide resolved
proposals/NNNN-control-default-actor-isolation.md Outdated Show resolved Hide resolved
Comment on lines +93 to +102
actor MyActor {
// nonisolated
init() { ... }

// nonisolated
deinit { ... }

// nonisolated
static let shared = MyActor()
}
Copy link
Contributor

@AnthonyLatsis AnthonyLatsis Jan 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants