diff --git a/y.ts b/y.ts index 59e86030..becf5499 100644 --- a/y.ts +++ b/y.ts @@ -8,9 +8,10 @@ export class Yield { #to: string; async to(guid: string){ this.#to = guid; + const objToPipe = await this.#yield(); } - async yield() : Promise{ + async #yield() : Promise{ return new Promise(async (resolve, reject) => { const {draw} = await import('./XV/draw.js'); const drawn = await draw(this.schema);