R
Size: a a a
R
🚀🚀
R
AO
R
AO
VI
R
AO
AO
🚀🚀
const reconnected = createEvent<WebSocket>()
const joinedChannels = createStore<string[]>([])
const joinChannels = createEffect()
const rejoin = attach({
source: joinedChannels,
effect: joinChannels,
mapParams: (socket, channels) => ({
socket,
channels,
})
})
forward({
from: reconnected,
to: rejoin
})🚀🚀
DS
P
const reconnected = createEvent<WebSocket>()
const joinedChannels = createStore<string[]>([])
const joinChannels = createEffect()
const rejoin = attach({
source: joinedChannels,
effect: joinChannels,
mapParams: (socket, channels) => ({
socket,
channels,
})
})
forward({
from: reconnected,
to: rejoin
})🚀🚀
🚀🚀

🚀🚀
P
🚀🚀
P