@ygkit/request
Advanced tools
Comparing version 0.0.6 to 0.1.0
interface WaitResponseOptions { | ||
callback: Function; | ||
targetResponse: any; | ||
targetResponse?: any; | ||
targetProp?: string; | ||
@@ -5,0 +5,0 @@ timeout: number; |
{ | ||
"name": "@ygkit/request", | ||
"version": "0.0.6", | ||
"version": "0.1.0", | ||
"description": "Node request utils", | ||
@@ -36,3 +36,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "f2385a683aa4cbf5f7e101bcc0b846cf7fc05c3c" | ||
"gitHead": "1bfa45d8e3945beb6ce97ecf8f301bcd006b9ff9" | ||
} |
@@ -10,6 +10,6 @@ # @ygkit/request | ||
| Name | Description | | ||
| ---------- | ------------------------------------------------- | | ||
| sleep | Sleep for target miniseconds. | | ||
| waitStatus | Hadle async request, until getting target status. | | ||
| Name | Description | | ||
| ------------ | --------------------------------------------------- | | ||
| sleep | Sleep for target miniseconds. | | ||
| waitResponse | Hadle async request, until getting target response. | | ||
@@ -16,0 +16,0 @@ ## License |
@@ -5,4 +5,7 @@ import { getProp } from '@ygkit/object'; | ||
interface WaitResponseOptions { | ||
// async request | ||
callback: Function; | ||
targetResponse: any; | ||
// target response | ||
targetResponse?: any; | ||
// target response property | ||
targetProp?: string; | ||
@@ -9,0 +12,0 @@ // timeout mini seconds |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65537
585