runWithTimeout (runtime/timeout.ts)

Runs a promise with a timeout, rejecting if exceeded.

Repository
fastgpt
Language
typescript
SPDX licence
Apache-2.0
Quality score (dated snapshot)
10/10
Category
database

Review source and licence terms before reuse. View on the service