Skip to content
On this page

timeout since v0.10

Applies a maximum timeout to any operation. If provided Query or a Mutation is not finished in specified Time, it will be aborted and resolved with Timeout Error.

Formulae

timeout(operation, config)

Operation could be a Query or a Mutation.

Config fields:

  • after: a Store with or just plain Time with an amount of milliseconds of maximum execution time for a provided operation.

Released under the MIT License.