Skip to content

Feature: Proposed inline of commonly used Promisors methods to GlobalContracts#68

Merged
jonloucks merged 3 commits intomainfrom
jonloucks-simplified-promisor-usecases
Oct 18, 2025
Merged

Feature: Proposed inline of commonly used Promisors methods to GlobalContracts#68
jonloucks merged 3 commits intomainfrom
jonloucks-simplified-promisor-usecases

Conversation

@jonloucks
Copy link
Owner

Feature: Proposed inline of commonly used Promisors methods to GlobalContracts

Description

Added GlobalContracts.singleton and GlobalContracts.lifeCycle
These are shortcuts for claiming the Promisors.CONTRACT and calling a method

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (code improvement or restructuring without changing external behavior)
  • Documentation update
  • Chore (e.g., dependency updates, build tooling changes)

How Has This Been Tested?

Added new tests to automatic testing

Checklist:

  • My code follows the project's coding style guidelines.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation (if necessary).
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or my feature works.
  • New and existing unit tests pass locally with my changes.

Additional Notes

None

@jonloucks jonloucks merged commit 16e624c into main Oct 18, 2025
5 of 6 checks passed
@jonloucks jonloucks deleted the jonloucks-simplified-promisor-usecases branch October 18, 2025 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant