https://github.com/afeiship/is-wx-request-timeout
Detect if weixin request timeout for mina.
https://github.com/afeiship/is-wx-request-timeout
mina timeout weixin wx wxapp
Last synced: 2 months ago
JSON representation
Detect if weixin request timeout for mina.
- Host: GitHub
- URL: https://github.com/afeiship/is-wx-request-timeout
- Owner: afeiship
- License: mit
- Created: 2020-07-06T10:51:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-26T14:09:56.000Z (about 2 years ago)
- Last Synced: 2025-07-17T20:02:55.794Z (3 months ago)
- Topics: mina, timeout, weixin, wx, wxapp
- Language: TypeScript
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# is-wx-request-timeout
> Detect if weixin request timeout for mina.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```shell
npm install @jswork/is-wx-request-timeout
```## usage
```js
import isWxRequestTimeout from '@jswork/is-wx-request-timeout';const msg = err.errMsg;
isWxRequestTimeout(msg); // true/false
```## license
Code released under [the MIT license](https://github.com/afeiship/is-wx-request-timeout/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/is-wx-request-timeout
[version-url]: https://npmjs.org/package/@jswork/is-wx-request-timeout[license-image]: https://img.shields.io/npm/l/@jswork/is-wx-request-timeout
[license-url]: https://github.com/afeiship/is-wx-request-timeout/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/is-wx-request-timeout
[size-url]: https://github.com/afeiship/is-wx-request-timeout/blob/master/dist/is-wx-request-timeout.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/is-wx-request-timeout
[download-url]: https://www.npmjs.com/package/@jswork/is-wx-request-timeout