const [activeViewVersion, booksClosedDate, legalEntityPreferences, ledgerName] =
yield* Effect.all(
[
getActiveViewVersion(legalEntityId, viewType),
getBooksClosedDate(legalEntityId),
getLegalEntityPreferences(legalEntityId),
getLedgerType(legalEntityId),
],
{ concurrency: "unbounded" }
).pipe(Effect.withSpan("Effect.all"))
const [activeViewVersion, booksClosedDate, legalEntityPreferences, ledgerName] =
yield* Effect.all(
[
getActiveViewVersion(legalEntityId, viewType),
getBooksClosedDate(legalEntityId),
getLegalEntityPreferences(legalEntityId),
getLedgerType(legalEntityId),
],
{ concurrency: "unbounded" }
).pipe(Effect.withSpan("Effect.all"))