Skip to content

Conversation

@ncooke3
Copy link
Member

@ncooke3 ncooke3 commented Nov 13, 2024

Method's Implementation uses a lot of main actor isolated APIs, so I think it makes sense to isolate the entire method on the main actor.

The caller of this API is in a DispatchQueue.main.async {} which is isolated on the main actor so no call sites need to change.

Screenshot 2024-11-13 at 2 11 46 PM

Other no-op changes were to make the class final and switch the method from a class method to a static method.

#no-changelog

@ncooke3 ncooke3 enabled auto-merge (squash) November 13, 2024 19:25
@ncooke3 ncooke3 merged commit 28c3e88 into main Nov 13, 2024
55 checks passed
@ncooke3 ncooke3 deleted the nc/mainactor-delegate branch November 13, 2024 19:37
@firebase firebase locked and limited conversation to collaborators Dec 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

3 participants