@fluxninja/aperture-js / Flow
- checkResponse
- deleteGlobalCache
- deleteResultCache
- end
- error
- globalCache
- httpResponseCode
- resultCache
- retryAfter
- setGlobalCache
- setResultCache
- setStatus
- shouldRun
- span
▸ checkResponse(): null | CheckResponse__Output
null | CheckResponse__Output
▸ deleteGlobalCache(key, grpcOptions?): Promise<KeyDeleteResponse>
| Name | Type |
|---|---|
key |
string |
grpcOptions? |
CallOptions |
Promise<KeyDeleteResponse>
▸ deleteResultCache(grpcOptions?): Promise<undefined | KeyDeleteResponse>
| Name | Type |
|---|---|
grpcOptions? |
CallOptions |
Promise<undefined | KeyDeleteResponse>
▸ end(grpcOptions?): Promise<FlowEndResponse>
| Name | Type |
|---|---|
grpcOptions? |
CallOptions |
Promise<FlowEndResponse>
▸ error(): null | Error
null | Error
▸ globalCache(key): KeyLookupResponse
| Name | Type |
|---|---|
key |
string |
▸ httpResponseCode(): undefined | Number
undefined | Number
▸ resultCache(): KeyLookupResponse
▸ retryAfter(): Object
Object
| Name | Type |
|---|---|
nanos |
undefined | number |
seconds |
undefined | string |
▸ setGlobalCache(key, cacheEntry, grpcOptions?): Promise<KeyUpsertResponse>
| Name | Type |
|---|---|
key |
string |
cacheEntry |
CacheEntry |
grpcOptions? |
CallOptions |
Promise<KeyUpsertResponse>
▸ setResultCache(cacheEntry, grpcOptions?): Promise<KeyUpsertResponse>
| Name | Type |
|---|---|
cacheEntry |
CacheEntry |
grpcOptions? |
CallOptions |
Promise<KeyUpsertResponse>
▸ setStatus(status): void
| Name | Type |
|---|---|
status |
FlowStatus |
void
▸ shouldRun(): boolean
boolean
▸ span(): Span
Span