UNPKG
@rinq/websocket
Version:
latest (0.2.1)
0.2.1
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
Rinq in the browser.
github.com/rinq/websocket
rinq/websocket
@rinq/websocket
/
example
/
client
/
src
/
thunks.js
10 lines
(8 loc)
•
242 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{initializeNetwork}
from
'./network/thunks'
import
{initializeRinq}
from
'./rinq/thunks'
export
function
initializeApp
(
services
) {
return
function
(
dispatch
) {
dispatch
(
initializeNetwork
())
dispatch
(
initializeRinq
()) } }