@hexadrop/query
Version:
Hexagonal architecture utils library
2 lines • 371 B
JavaScript
import{b as s}from"./chunk-FJNOTJLN.js";import"./chunk-MZHAKUPB.js";import"./chunk-UAV2XQCZ.js";import t from"@hexadrop/either";import p from"@hexadrop/error";var o=class{info;constructor(r){this.info=r}ask(r){let n=this.info.search(r);try{return n(r)}catch(e){return e instanceof p?t.left(e):t.left(new s(e))}}};export{o as default};
//# sourceMappingURL=bus.sync.js.map