@dbmx/mom
v1.1.59
Published
``` import RPC from '../index'
Downloads
321
Readme
@DBMX / rpc
import RPC from '../index'
const url = 'amqp://0.0.0.0:5672'
const dbmxExchange = 'dbmx'
const client = await RPC({ url, dbmxExchange })
const user = await client.call('auth:people:userInfo', { _id: 1 }, { timeout: 2000 })
client.end()