Package: effect
Module: Channel
Phantom variance marker for the type parameters of Channel.
Details
Output element, output error, output done, and environment types are covariant. Input element, input error, and input done types are contravariant. This is type-level machinery and is not used directly at runtime.
Signature
export interface Variance<
out OutElem,
out OutErr,
out OutDone,
in InElem,
in InErr,
in InDone,
out Env
> {
readonly [TypeId]: VarianceStruct<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>
}
Since v2.0.0