Skip to content

Commit

Permalink
Remove unnecessary async (#2062)
Browse files Browse the repository at this point in the history
  • Loading branch information
texuf authored Jan 16, 2025
1 parent 38b35e9 commit 99ff8aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sdk/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export class Client
}
}

private async initUserJoinedStreams() {
private initUserJoinedStreams() {
assert(isDefined(this.userStreamId), 'userStreamId must be set')
assert(isDefined(this.syncedStreamsExtensions), 'syncedStreamsExtensions must be set')
const stream = this.stream(this.userStreamId)
Expand Down Expand Up @@ -404,7 +404,7 @@ export class Client
this.initUserMetadataStream(initUserMetadata),
this.initUserSettingsStream(initUserMetadata),
])
await this.initUserJoinedStreams()
this.initUserJoinedStreams()

this.syncedStreamsExtensions.start()
const initializeUserEndTime = performance.now()
Expand Down

0 comments on commit 99ff8aa

Please sign in to comment.