Effect CommunityEC
Effect Community2y ago
5 replies
Patrick Roza

Query on Using forkDaemonReportRequest Function with fork and daemonChildren in TypeScript

Anyone into daemon children?
i'm trying to figure out why i'm using
export function forkDaemonReportRequest<R, E, A>(self: Effect<A, E, R>) {
  return self.pipe(
    Effect.tapErrorCause(reportError("Request")),
    Effect.fork,
    Effect.daemonChildren
  )
}
fork, daemonChildren here, and not just forkDaemon.
I would imagine Mike advised it at somepoint. but im clueless, from what I can read, it results in the same behaviour
Was this page helpful?