class WriteCase implements WriteCaseLikeimport { WriteCase } from "https://deno.land/x/easyts@0.1.3/mod.ts"; ConstructorsnewprivateWriteCase(ch: Chan<T>,val: T,exception?: boolean,)Type ParametersTPropertiesprivateoptionalwrite_: booleanreadonlyisReady: booleanReturns whether this case is ready Methodsdo(resolve: (c: CaseLike) => void, reject: (c: CaseLike) => void): Connectioninvoke(): Promise<void>reset()reset read-write status tryInvoke(): booleanwrite(): booleanReturns whether the case was written successfully, throws an exception if the case is not ready or this is not a write case Static Methodsmake<T>(ch: Chan<T>,val: T,exception?: boolean,): WriteCase<T>