Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@Inout
hostUri: Inoutlet = this.inoutlet();
@Inout
nodeUri: Inoutlet = this.inoutlet();
@Inout
laneUri: Inoutlet = this.inoutlet();
@Inout
prio: Inoutlet = this.inoutlet();
@Inout
rate: Inoutlet = this.inoutlet();
@Inout("body")
bodyValue: Inoutlet = this.inoutlet();
@Inout
type: Inoutlet = this.inoutlet();
@Out
state: Outlet>;
getOutput(outlet: Outlet | string): Value | undefined {
outlet = this.outlet(outlet)!;
if (outlet === this.state) {
if (this.downlink instanceof ValueDownlink) {
return this.downlink.get();
} else if (this.downlinkRecord) {
return this.downlinkRecord;
}