@dbmx/rpc
v1.1.5
Published
``` import RPC from '../index'
Downloads
88
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()