Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21965,6 +21965,12 @@ const client = new Client({
});
```

Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment and only warns when they are missing. Use `Client.fromEnv()` to throw instead:

```typescript
const client = Client.fromEnv();
```

#### RetryConfig

You can configure the retry policy of the client by passing the configuration to the client constructor.
Expand Down
6 changes: 6 additions & 0 deletions qstash/sdks/ts/gettingstarted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ const client = new Client({
});
```

Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment and only warns when they are missing. Use `Client.fromEnv()` to throw instead:

```typescript
const client = Client.fromEnv();
```

#### RetryConfig

You can configure the retry policy of the client by passing the configuration to the client constructor.
Expand Down