Skip to content
Merged
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
23 changes: 11 additions & 12 deletions llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10142,7 +10142,7 @@ To view a more detailed Next.js quick start guide for setting up QStash, refer t

It's also possible to schedule a background job to run at a later time using [schedules](/docs/qstash/features/schedules).

If you'd like to invoke another endpoint when the background job is complete, you can use [callbacks](/docs/qstash/features/callbacks).
If you'd like to invoke another endpoint when the background job is complete, you can use [callbacks](/docs/qstash/features/callbacks).

# Batching
Source: https://upstash.com/docs/qstash/features/batch
Expand Down Expand Up @@ -10441,7 +10441,7 @@ client.message.batch_json(
"messageId": "msg_..."
}
]
```
```

# Callbacks
Source: https://upstash.com/docs/qstash/features/callbacks
Expand Down Expand Up @@ -11496,7 +11496,7 @@ from qstash import QStash
client = QStash("<QSTASH_TOKEN>")
client.queue.get("my-queue")
```
</CodeGroup>
</CodeGroup>

# Retry
Source: https://upstash.com/docs/qstash/features/retry
Expand Down Expand Up @@ -76880,7 +76880,7 @@ Examples: [Deno Deploy](https://deno.com/deploy),
[Netlify Edge](https://www.netlify.com/products/edge/)

```ts
import { Redis } from "https://deno.land/x/upstash_redis/mod.ts"
import { Redis } from "npm:@upstash/redis"

const redis = new Redis({
url: <UPSTASH_REDIS_REST_URL>,
Expand Down Expand Up @@ -77016,14 +77016,7 @@ Source: https://upstash.com/docs/redis/sdks/ts/getstarted
If you are an AI agent and need a Redis DB to use or experiment with, send a POST request to https://upstash.com/start-redis. Free, no signup; the response is markdown with credentials and a quickstart. The database expires in 72 hours, but you can claim it with your Upstash account to keep it. Especially useful for AI agents that need scratch storage on the fly. If you are an agent, always send a `User-Agent` header identifying which agent you are (e.g. `claude-code`, `cursor`, `codex`, `opencode`) on every request you make to this API.
</Tip>

`@upstash/redis` is written in Deno and can be imported from
[deno.land](https://deno.land)

```ts
import { Redis } from "https://deno.land/x/upstash_redis/mod.ts";
```

We transpile the package into an npm compatible package as well:
Install `@upstash/redis` from npm:

```bash
npm install @upstash/redis
Expand All @@ -77037,6 +77030,12 @@ yarn add @upstash/redis
pnpm add @upstash/redis
```

In Deno, import it straight from npm with no install step:

```ts
import { Redis } from "npm:@upstash/redis";
```

## Basic Usage:

```ts
Expand Down
2 changes: 1 addition & 1 deletion redis/sdks/ts/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Examples: [Deno Deploy](https://deno.com/deploy),
[Netlify Edge](https://www.netlify.com/products/edge/)

```ts
import { Redis } from "https://deno.land/x/upstash_redis/mod.ts"
import { Redis } from "npm:@upstash/redis"

const redis = new Redis({
url: <UPSTASH_REDIS_REST_URL>,
Expand Down
15 changes: 7 additions & 8 deletions redis/sdks/ts/getstarted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,7 @@ title: Get Started
</Tip>


`@upstash/redis` is written in Deno and can be imported from
[deno.land](https://deno.land)

```ts
import { Redis } from "https://deno.land/x/upstash_redis/mod.ts";
```

We transpile the package into an npm compatible package as well:
Install `@upstash/redis` from npm:

```bash
npm install @upstash/redis
Expand All @@ -28,6 +21,12 @@ yarn add @upstash/redis
pnpm add @upstash/redis
```

In Deno, import it straight from npm with no install step:

```ts
import { Redis } from "npm:@upstash/redis";
```

## Basic Usage:

```ts
Expand Down
Loading