Skip to content

Commit ca629f9

Browse files
Is the defer function still in beta? (#10426)
1 parent b5bc9a4 commit ca629f9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎helpers.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,9 @@ use Illuminate\Support\Arr;
502502

503503
Arr::from((object) ['foo' => 'bar']); // ['foo' => 'bar']
504504

505-
class TestJsonableObject implements Jsonable
505+
class TestJsonableObject implements Jsonable
506506
{
507-
public function toJson($options = 0)
507+
public function toJson($options = 0)
508508
{
509509
return json_encode(['foo' => 'bar']);
510510
}
@@ -3067,9 +3067,6 @@ For a thorough discussion of Carbon and its features, please consult the [offici
30673067
<a name="deferred-functions"></a>
30683068
### Deferred Functions
30693069

3070-
> [!WARNING]
3071-
> Deferred functions are currently in beta while we gather community feedback.
3072-
30733070
While Laravel's [queued jobs](/docs/{{version}}/queues) allow you to queue tasks for background processing, sometimes you may have simple tasks you would like to defer without configuring or maintaining a long-running queue worker.
30743071

30753072
Deferred functions allow you to defer the execution of a closure until after the HTTP response has been sent to the user, keeping your application feeling fast and responsive. To defer the execution of a closure, simply pass the closure to the `Illuminate\Support\defer` function:

0 commit comments

Comments
 (0)