0.3.4 • Published 4 years ago

stomped-rabbit v0.3.4

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Usage:

as Hook

import {useStompedRabbit} from 'stomped-rabbit';

const mq = await useStompedRabbit('main', {endpoint: 'ws://user:pass@somewhere:15672', config options});

import {withStompedRabbit} from 'stomped-rabbit';

@withStompedRabbit({
  config: {
    endpoint: 'ws://someserver.com'
    exchange: 'mydefaultexchange'
  }
  onConnect: 'onConnectSuccess' (points to the class method "onConnectSuccess"
  onConnectError: 'onConnectFailure' (points to the class method "onConnectError"
})
class myClass {
 ...
 
 onConnectSuccess( ) {
 
 }
 
 onConnectError( ) {
 
 }
}

###RPC ####Provision SR.rpc.provision()

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago