jsonnull / electron-trpc

Build type-safe Electron inter-process communication using tRPC
https://electron-trpc.dev/
MIT License
267 stars 26 forks source link

Bug: Type of `createContext` must always be async #94

Closed jsonnull closed 1 year ago

jsonnull commented 1 year ago

Currently createContext must always return a Promise. Instead it should return an Awaitable.