Difference Between `Effect.tryPromise(...).pipe(Effect.orDie)` and `Effect.promise(...)`

is there any difference between

Effect.tryPromise(async () => {}).pipe(Effect.orDie)


and

Effect.promise(async () => {})
Was this page helpful?