mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
373 B
373 B
Websocket Channel
Websocket channel for storybook Storybooks. This channel can be used when the Storybook Renderer should communicate with the Storybook Manager over the network. A channel can be created using the createChannel
function.
import createChannel from '@storybook/channel-websocket'
const channel = createChannel({ url: 'ws://localhost:9001' })