chunky v0.11.5 Chunky.Timeout View Source
Working with sequences and recurrent/recursive mathematical functions can lead to really long processing times in some circumstances. The Chunky.Timeout module provides some macros and functions for making things a little more sane.
Link to this section Summary
Functions
Wrap an expression in a timeout, returning the value as an {:ok, result} or {:timeout, nil} tuple.
Link to this section Functions
Wrap an expression in a timeout, returning the value as an {:ok, result} or {:timeout, nil} tuple.
Wait time is specified in integer milliseconds.