(bidi, token)
| 47 | #bidi |
| 48 | |
| 49 | constructor(bidi, token) { |
| 50 | if (token !== DOMAIN_TOKEN) { |
| 51 | throw new TypeError(`${new.target.name} must be constructed via ${new.target.name}.create(driver), not \`new\``) |
| 52 | } |
| 53 | this.#bidi = bidi |
| 54 | } |
| 55 | |
| 56 | static async connect(driver) { |
| 57 | return getBidiConnection(driver) |
nothing calls this directly
no outgoing calls
no test coverage detected