core/relay: add outbound and inbound getters
This commit is contained in:
parent
fea32ea227
commit
4a208d2b4f
@ -123,6 +123,16 @@ export class Relay extends EventEmitter {
|
||||
}
|
||||
}
|
||||
|
||||
// getters
|
||||
|
||||
getOutbound() {
|
||||
return this._outbound;
|
||||
}
|
||||
|
||||
getInbound() {
|
||||
return this._inbound;
|
||||
}
|
||||
|
||||
// hooks of pipe
|
||||
|
||||
onBroadcast(action) {
|
||||
|
Loading…
Reference in New Issue
Block a user