crosis
Version:
Crosis done just right
3 lines (2 loc) • 344 B
JavaScript
import i from"@replit/protocol";const c=i.api;class a{constructor(s,o,e,r){this.crosis=s,this.openChanRes=o,this.service=e,this.name=r}get id(){return this.openChanRes.id}send(...s){return s[0].channel=this.id,this.crosis.send(...s)}close(s){return this.crosis.closeChannel(this.id,s)}}export{a as Channel};
//# sourceMappingURL=channel.js.map