Commit 977ef77
chore: only write auth writer core once in CoreOwnership
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>1 parent a2c0467 commit 977ef77
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments