laterunless

npx laterunless [options]

Usage no npm install needed!

<script type="module">
  import laterunless from 'https://cdn.skypack.dev/laterunless';
</script>

README

Usage

npx laterunless [options]

laterunless - v1.2.0

laterunless - v1.2.0

Index

Functions

Functions

cancel

cancel(id: string, laterUnlessKey?: string): Promise<boolean>

Parameters:

Name Type
id string
laterUnlessKey? string

Returns: Promise<boolean>

Defined in: index.ts:168


init

init(laterUnlessKey: string, host?: string): void

Parameters:

Name Type
laterUnlessKey string
host? string

Returns: void

Defined in: index.ts:5


list

list(laterUnlessKey?: string): Promise<{ date: Date ; id: string }[]>

Parameters:

Name Type
laterUnlessKey? string

Returns: Promise<{ date: Date ; id: string }[]>

Defined in: index.ts:263


listPage

listPage(lastCursor?: string, laterUnlessKey?: string): Promise<[nextCursor: string, data: object[]]>

Parameters:

Name Type
lastCursor? string
laterUnlessKey? string

Returns: Promise<[nextCursor: string, data: object[]]>

Defined in: index.ts:218


send

send(__namedParameters: { date: Date ; debug?: boolean ; encoding?: JSON | FORM ; headers?: { [key: string]: string; } ; id?: string ; method?: GET | POST ; payload: { [key: string]: any; } ; url: string }, laterUnlessKey?: string): Promise<string>

Parameters:

Name Type
__namedParameters { date: Date ; debug?: boolean ; encoding?: JSON | FORM ; headers?: { [key: string]: string; } ; id?: string ; method?: GET | POST ; payload: { [key: string]: any; } ; url: string }
laterUnlessKey? string

Returns: Promise<string>

Defined in: index.ts:13


sendWithoutWaiting

sendWithoutWaiting(__namedParameters: { date: Date ; debug?: boolean ; encoding?: JSON | FORM ; headers?: { [key: string]: string; } ; id: string ; method?: GET | POST ; payload: { [key: string]: any; } ; url: string }, laterUnlessKey?: string): Promise<string>

Parameters:

Name Type
__namedParameters { date: Date ; debug?: boolean ; encoding?: JSON | FORM ; headers?: { [key: string]: string; } ; id: string ; method?: GET | POST ; payload: { [key: string]: any; } ; url: string }
laterUnlessKey? string

Returns: Promise<string>

Defined in: index.ts:95


setDebug

setDebug(debug?: boolean): void

Parameters:

Name Type Default value
debug boolean true

Returns: void

Defined in: index.ts:9