Skip to content

Commit

Permalink
remove last usages of attachWorkers
Browse files Browse the repository at this point in the history
  • Loading branch information
framini committed May 27, 2022
1 parent e739aa7 commit 599ba6f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/core/src/BaseComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
SDKWorker,
SDKWorkerDefinition,
SessionAuthStatus,
AttachSDKWorkerParams,
SDKWorkerHooks,
} from './utils/interfaces'
import { EventEmitter } from './utils/EventEmitter'
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/BaseConsumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export class BaseConsumer<
return new Promise(async (resolve, reject) => {
try {
this.applyEmitterTransforms()
this.attachWorkers()
await this.execute(execParams)
return resolve(undefined)
} catch (error) {
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/utils/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,6 @@ export type SDKWorkerParams<
Hooks extends SDKWorkerHooks = SDKWorkerHooks
> = SDKWorkerBaseParams<T> & Hooks

export type AttachSDKWorkerParams<T> = Partial<SDKWorkerBaseParams<T>>

export type SDKWorker<T, Hooks extends SDKWorkerHooks = SDKWorkerHooks> = (
params: SDKWorkerParams<T, Hooks>
) => SagaIterator<any>
Expand Down
1 change: 0 additions & 1 deletion packages/webrtc/src/BaseConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export class BaseConnection<EventTypes extends EventEmitter.ValidEventTypes>
this.logger.debug('New Call with Options:', this.options)

this.applyEmitterTransforms({ local: true })
this.attachWorkers()
}

get id() {
Expand Down

0 comments on commit 599ba6f

Please sign in to comment.