Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

0.9.0 - beta version

Choose a tag to compare

@EdmondDantes EdmondDantes released this 30 Mar 14:17
· 178 commits to main since this release

Changes from Version 0.8.0 to Main Branch

basic.md
  • Formatting: Removed extra spaces in code examples and descriptions
  • Code Examples:
    • Updated examples for launching functions in non-blocking mode
    • Improved examples for waiting for coroutine results and cancellation
    • Added new examples for structured concurrency and error handling
New File: colored_functions.md
  • Content:
    • Detailed explanation of how colored functions help implement structured concurrency
    • Syntax and usage examples for colored functions in PHP
    • Comparison with other languages' concurrency models

Function Renaming

  • withoutCancellation function renamed to protect

Functionality Enhancements

  • Coroutine Scope Management:
    • Added awaitAllIgnoringErrors method to handle errors more gracefully
  • Error Handling:
    • Improved handling of exceptions within coroutines and scopes
    • Added more detailed examples and explanations for error handling

Detailed Code Changes

  • Structured Concurrency:

    • Enhanced examples for async $scope blocks
    • Improved explanations for coroutine scopes and structured concurrency patterns
  • Error Handling:

    • Added detailed examples for handling exceptions within coroutines and scopes
    • Improved error mitigation strategies
  • Await Expressions:

    • Improved examples for using await with cancellation tokens