File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,21 +11,21 @@ class BootstrapError extends Data.TaggedError("BootstrapError")<{
1111 readonly cause ?: unknown ;
1212} > { }
1313
14- export const readBootstrapEnvelope = Effect . fn ( "readBootstrapEnvelope" ) ( function * < T > (
15- schema : Schema . Codec < T > ,
14+ export const readBootstrapEnvelope = Effect . fn ( "readBootstrapEnvelope" ) ( function * < A , I > (
15+ schema : Schema . Codec < A , I > ,
1616 fd : number ,
1717 options ?: {
1818 timeoutMs ?: number ;
1919 } ,
20- ) : Effect . fn . Return < Option . Option < T > , BootstrapError > {
20+ ) : Effect . fn . Return < Option . Option < A > , BootstrapError > {
2121 const fdReady = yield * isFdReady ( fd ) ;
2222 if ( ! fdReady ) return Option . none ( ) ;
2323
2424 const stream = yield * makeBootstrapInputStream ( fd ) ;
2525
2626 const timeoutMs = options ?. timeoutMs ?? 1000 ;
2727
28- return yield * Effect . callback < Option . Option < T > , BootstrapError > ( ( resume ) => {
28+ return yield * Effect . callback < Option . Option < A > , BootstrapError > ( ( resume ) => {
2929 const input = readline . createInterface ( {
3030 input : stream ,
3131 crlfDelay : Infinity ,
You can’t perform that action at this time.
0 commit comments