mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-14 06:40:02 -04:00
parent
34ac32b3ca
commit
d3e26603d1
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ export class BareMuxConnection {
|
|||
this.worker = new WorkerConnection(workerPath);
|
||||
}
|
||||
|
||||
async SetTransport(path: string, options: any[]) {
|
||||
async setTransport(path: string, options: any[]) {
|
||||
await this.setManualTransport(`
|
||||
const { default: BareTransport } = await import("${path}");
|
||||
return new BareTransport(${options.map(x => JSON.stringify(x)).join(", ")});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue