(instanceId)
| 447 | } |
| 448 | |
| 449 | function getOpenEntry(instanceId) { |
| 450 | const entry = servers.get(instanceId); |
| 451 | if (!entry) { |
| 452 | throw new CanvasError("arcade_not_open", "Open the Arcade canvas before invoking this action."); |
| 453 | } |
| 454 | return entry; |
| 455 | } |
| 456 | |
| 457 | await joinSession({ |
| 458 | canvases: [ |