-import { WorkerBroadcastChannel } from './WorkerBroadcastChannel.js'
import {
type BroadcastChannelResponse,
type BroadcastChannelResponsePayload,
} from '../../types/index.js'
import { logger } from '../../utils/index.js'
import type { AbstractUIService } from '../ui-server/ui-services/AbstractUIService.js'
+import { WorkerBroadcastChannel } from './WorkerBroadcastChannel.js'
const moduleName = 'UIServiceWorkerBroadcastChannel'
}
return undefined
})
- .filter((hashId) => hashId != null) as string[],
+ .filter(hashId => hashId != null) as string[],
...(responsesStatus === ResponseStatus.FAILURE && {
hashIdsFailed: this.responses
.get(uuid)
}
return undefined
})
- .filter((hashId) => hashId != null) as string[]
+ .filter(hashId => hashId != null) as string[]
}),
...(responsesStatus === ResponseStatus.FAILURE && {
responsesFailed: this.responses
.get(uuid)
- ?.responses.map((response) => {
+ ?.responses.map(response => {
if (response.status === ResponseStatus.FAILURE) {
return response
}
return undefined
})
- .filter((response) => response != null) as BroadcastChannelResponsePayload[]
+ .filter(response => response != null) as BroadcastChannelResponsePayload[]
})
}
}