ko-timeout
deprecated please use https://github.com/sindresorhus/delay
usage
gen
- a genarator function
ms
- millisecond. can use '3s' or '200ms', which https://www.npmjs.com/package/ms support
if timeout, err.name
will be CoTimeoutError
example
should timeout
try catch e emessageshould
should get return value
var value = valueshould
license
MIT