Skip to content

Commit

Permalink
📝 Release v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
matyo91 committed Aug 30, 2024
1 parent 92e0ec9 commit ede040c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## v1.2.x
## v1.2.2

- Flow can now use `Flow\JobInterface` as job input
- Add Symfony Bridge
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"keywords": [
"flow"
],
"version": "1.2.1",
"version": "1.2.2",
"browserslist": [
"defaults"
],
Expand Down Expand Up @@ -91,4 +91,4 @@
}
]
}
}
}
10 changes: 10 additions & 0 deletions docs/src/content/en/docs/getting-started/job.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ toc: true

# Job

When using Flow, you can pass Closure or JobInterface, it's useful when you want to specialize your Job, that come with dependecy injection.

## ClosureJob

ClosureJob simplifies job handling by allowing the use of closures or custom job classes, providing a versatile solution for managing jobs in your application.

## YJob

The YJob class defines the Y combinator to recursively apply the job function, making it particularly useful in scenarios where you need to perform recursive tasks without explicitly writing recursive functions.

## Make your own Job

You can make your custom Job by implementing `Flow\JobInterface`.

0 comments on commit ede040c

Please sign in to comment.