| 207 | // ── Lifecycle ────────────────────────────────────────────────── |
| 208 | |
| 209 | async join(input: JoinInput): Promise<JoinResult> { |
| 210 | return unwrap( |
| 211 | await join({ |
| 212 | auth: this.#auth, |
| 213 | upstream: this.#upstream, |
| 214 | dolthubOrg: this.#config.forkOrg, |
| 215 | rigHandle: this.#config.rigHandle, |
| 216 | displayName: input.displayName, |
| 217 | ownerEmail: input.ownerEmail, |
| 218 | version: input.version, |
| 219 | forkTimeoutMs: input.forkTimeoutMs, |
| 220 | sleep: input.sleep, |
| 221 | fetch: this.#config.fetch, |
| 222 | hooks: this.#hooks, |
| 223 | }), |
| 224 | this.#config.onError |
| 225 | ); |
| 226 | } |
| 227 | |
| 228 | async leave(): Promise<LeaveResult> { |
| 229 | return unwrap( |