UNPKG
@tygr/socket
Version:
beta (1.0.1)
latest (1.0.8)
1.0.8
1.0.7
1.0.6
1.0.5
1.0.3
1.0.2
1.0.1
1.0.0
Use websockets to extend redux functionality to server code
@tygr/socket
/
dist
/
client
/
socket.service.d.ts
9 lines
(8 loc)
•
272 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Store
,
Actions
$,
Action
,
StoreService
}
from
'@tygr/core'
;
export
declare
class
SocketService
extends
StoreService
{
private
actions$;
private
store;
private
socket;
constructor
(
actions$
:
Actions
$,
store
:
Store
);
send
(
action
:
Action
):
void
; }