Skip to content

chore: only write auth writer core once in CoreOwnership#755

Merged
EvanHahn merged 1 commit intomainfrom
evanhahn/only-write-core-ownership-once
Aug 23, 2024
Merged

chore: only write auth writer core once in CoreOwnership#755
EvanHahn merged 1 commit intomainfrom
evanhahn/only-write-core-ownership-once

Conversation

@EvanHahn
Copy link
Contributor

We want to call a function once the auth writer core emits its ready event. Using once lets us clean up the listener once it fires, rather than leaving it around.

Extracted from #390.

We want to call a function once the auth writer core emits its `ready`
event. Using `once` lets us clean up the listener once it fires, rather
than leaving it around.

Extracted from [#390].

[#390]: #390

Co-Authored-By: Gregor MacLennan <gmaclennan@digital-democracy.org>
@EvanHahn EvanHahn merged commit 4e19cbc into main Aug 23, 2024
@EvanHahn EvanHahn deleted the evanhahn/only-write-core-ownership-once branch August 23, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants