Understanding the use of Effect.promise with Drizzle calls in Effect TS

Why are Drizzle calls wrapped with Effect.promise? The return types of the operations aren't promises.

https://github.com/Effect-TS/effect/blob/main/packages/sql-drizzle/test/Mysql.test.ts
Was this page helpful?