<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/deferred-functions-fire-and-forget-background-work-with-typed-payloads-udyfk11pe" -->

---
title: Deferred Functions: fire-and-forget background work with...
description: Inngest introduces Deferred Functions, a new way to trigger fire-and-forget background work from inside a running function using defer("id", { function, data...
canonical: https://daily.dev/posts/deferred-functions-fire-and-forget-background-work-with-typed-payloads-udyfk11pe
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Deferred Functions: fire-and-forget background work with typed payloads | daily.dev
og:description: Inngest introduces Deferred Functions, a new way to trigger fire-and-forget background work from inside a running function using defer("id", { function, data...
og:url: https://daily.dev/posts/deferred-functions-fire-and-forget-background-work-with-typed-payloads-udyfk11pe
og:image: https://api.daily.dev/og/posts/UDyfK11pE.png
og:image:alt: Deferred Functions: fire-and-forget background work with typed payloads
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Deferred Functions: fire-and-forget background work with typed payloads

**[Inngest Blog](https://daily.dev/sources/inngest)** · 2 min read · 0 upvotes · 0 comments

## Summary

Inngest introduces Deferred Functions, a new way to trigger fire-and-forget background work from inside a running function using defer("id", { function, data }). The parent run continues without waiting, while the deferred run executes independently with its own retries, concurrency, and step state. Payloads can be typed via a Standard Schema, validated on both caller and receiver. Deferred Functions work inside handlers or step.run() calls and are useful for tasks like scoring agent output, sending notifications, or queueing follow-up work. The feature is available now in beta via createDefer from inngest/experimental in the TypeScript SDK, with a deferred LLM scorer example and full API reference provided.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/changelog/2026-06-05-deferred-functions>

## Questions this post answers

### How do I trigger fire-and-forget background work from an Inngest function without blocking the parent run?

Use the new Deferred Functions feature by calling defer("some-id", { function, data }) inside a handler or step.run(). This call is synchronous and returns void, so the parent run continues executing without waiting for or seeing a result. The deferred run executes independently with its own retries, concurrency limits, and step state, available now in beta via createDefer from inngest/experimental in the TypeScript SDK.

_daily.dev surfaces updates like this for developers designing background job and workflow patterns._

### Can I validate and type the payload passed to a deferred background job in Inngest?

Yes, defining a Standard Schema on the deferred function makes the data payload validated on both the caller and receiver sides, then typed in the handler. This ensures type safety across independent runs, and multiple parent functions can target the same deferred function with different payloads, each validated against the same schema.

_Track typed payload patterns like this on daily.dev when building reliable background job pipelines._

## Similar posts on daily.dev

- [All your workflows are about to be long running. Build for it.](https://daily.dev/posts/all-your-workflows-are-about-to-be-long-running-build-for-it--ff8epi154) · Inngest Blog · 0 upvotes · 0 comments
- [Your Neon Functions can now run on a schedule](https://daily.dev/posts/your-neon-functions-can-now-run-on-a-schedule-eeyvvs76j) · Neon · 18 upvotes · 3 comments

---

Tags: [#inngest](https://daily.dev/tags/inngest), [#llm](https://daily.dev/tags/llm), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/deferred-functions-fire-and-forget-background-work-with-typed-payloads-udyfk11pe)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Deferred Functions: fire-and-forget background work with typed payloads","url":"https://daily.dev/posts/deferred-functions-fire-and-forget-background-work-with-typed-payloads-udyfk11pe","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/deferred-functions-fire-and-forget-background-work-with-typed-payloads-udyfk11pe"},"datePublished":"2026-09-13T19:57:19.408Z","dateModified":"2026-10-15T02:22:32.434Z","description":"Inngest introduces Deferred Functions, a new way to trigger fire-and-forget background work from inside a running function using defer(\"id\", { function, data...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/072727f3394684a8c40ce7e78096dc61?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/072727f3394684a8c40ce7e78096dc61?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/deferred-functions-fire-and-forget-background-work-with-typed-payloads-udyfk11pe","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"inngest,llm,typescript","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"Deferred Functions: fire-and-forget background work with typed payloads"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/deferred-functions-fire-and-forget-background-work-with-typed-payloads-udyfk11pe#faq","mainEntity":[{"@type":"Question","name":"How do I trigger fire-and-forget background work from an Inngest function without blocking the parent run?","acceptedAnswer":{"@type":"Answer","text":"Use the new Deferred Functions feature by calling defer(\"some-id\", { function, data }) inside a handler or step.run(). This call is synchronous and returns void, so the parent run continues executing without waiting for or seeing a result. The deferred run executes independently with its own retries, concurrency limits, and step state, available now in beta via createDefer from inngest/experimental in the TypeScript SDK. daily.dev surfaces updates like this for developers designing background job and workflow patterns."}},{"@type":"Question","name":"Can I validate and type the payload passed to a deferred background job in Inngest?","acceptedAnswer":{"@type":"Answer","text":"Yes, defining a Standard Schema on the deferred function makes the data payload validated on both the caller and receiver sides, then typed in the handler. This ensures type safety across independent runs, and multiple parent functions can target the same deferred function with different payloads, each validated against the same schema. Track typed payload patterns like this on daily.dev when building reliable background job pipelines."}}]}
```

