Skip to content

Conversation

@ra1028
Copy link
Owner

@ra1028 ra1028 commented May 14, 2024

Pull Request Type

  • Bug fix
  • New feature
  • Refactoring
  • Documentation update
  • Chore

Description

Recent change made the override closures Sendable, and it inhibited to create main actor isolated instances inside the closure.
Since the values created in the override closures are supposed to be used on main actor, it should be better to make them main actor isolated closures.

Impact on Existing Code

  • Creating an instance of custom actors synchronously in the override closures will be inhibited.

@ra1028 ra1028 merged commit 0d433b9 into main May 14, 2024
@ra1028 ra1028 deleted the feat/isolate-override-closure-main-actor branch May 14, 2024 10:46
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