Example
const CallType = require('@malijs/call-types')
console.log(CallType.DUPLEX)
Example (Within Mali call handler)
if(ctx.type === CallType.UNARY) {
console.log('Unary call')
}
Unary call
Kind: static property of @malijs/call-types
Request is a stream
Kind: static property of @malijs/call-types
Response is a stream
Kind: static property of @malijs/call-types
Duplex call where both request and response are streams
Kind: static property of @malijs/call-types