Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Disposable mixin and helpers #5

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

kennedykori
Copy link
Contributor

Add the Disposable mixin, which serves as a wrapper for managing resource disposal and cleanup, while also providing the disposal status of an entity.

Additionally, include a decorator to guarantee that methods that depend on resources will fail gracefully with descriptive error messages if called on disposed of entities.

Add the `Disposable` mixin, which serves as a wrapper for managing resource disposal and cleanup, while also providing the disposal status of an entity.

Additionally, include a decorator to guarantee that methods that depend on resources will fail gracefully with descriptive error messages if called on disposed of entities.
@kennedykori kennedykori self-assigned this Sep 13, 2023
@saladgg saladgg merged commit 0ba9855 into develop Sep 13, 2023
5 checks passed
@saladgg saladgg deleted the feat-add-disposable-mixin-and-helpers branch September 13, 2023 13:29
kennedykori added a commit that referenced this pull request Mar 20, 2024
## [1.0.0-test.1](...v1.0.0-test.1) (2024-03-20)

### Features

* add `Config` interface ([#9](#9)) ([d70d082](d70d082))
* add common SGHI utilities and typings ([#3](#3)) ([d79769b](d79769b))
* add common utilities ([#6](#6)) ([1b620d5](1b620d5))
* add Disposable mixin and helpers ([#5](#5)) ([0ba9855](0ba9855))
* add instance check validators ([#10](#10)) ([71d87d3](71d87d3))
* add module loading utilities ([#7](#7)) ([573fe61](573fe61))
* add Task interface & its common implementations ([#8](#8)) ([513a22c](513a22c))
* add the `sghi.dispatch` module ([#11](#11)) ([b617c57](b617c57))
* add the `sghi.registry` module ([#12](#12)) ([f2d51bf](f2d51bf))

### Refactors

* add README and gitignore ([2e05fe7](2e05fe7))
* **build:** setup project ([#1](#1)) ([d53b486](d53b486))
kennedykori added a commit that referenced this pull request Mar 20, 2024
## [1.0.0-dev.1](...v1.0.0-dev.1) (2024-03-20)

### Features

* add `Config` interface ([#9](#9)) ([d70d082](d70d082))
* add common SGHI utilities and typings ([#3](#3)) ([d79769b](d79769b))
* add common utilities ([#6](#6)) ([1b620d5](1b620d5))
* add Disposable mixin and helpers ([#5](#5)) ([0ba9855](0ba9855))
* add instance check validators ([#10](#10)) ([71d87d3](71d87d3))
* add module loading utilities ([#7](#7)) ([573fe61](573fe61))
* add Task interface & its common implementations ([#8](#8)) ([513a22c](513a22c))
* add the `sghi.dispatch` module ([#11](#11)) ([b617c57](b617c57))
* add the `sghi.registry` module ([#12](#12)) ([f2d51bf](f2d51bf))

### Refactors

* add README and gitignore ([2e05fe7](2e05fe7))
* **build:** setup project ([#1](#1)) ([d53b486](d53b486))
@kennedykori
Copy link
Contributor Author

🎉 This PR is included in version 1.0.0-dev.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

kennedykori added a commit that referenced this pull request Mar 20, 2024
Add the `Disposable` mixin, which serves as a wrapper for managing resource disposal and cleanup, while also providing the disposal status of an entity.

Additionally, include a decorator to guarantee that methods that depend on resources will fail gracefully with descriptive error messages if called on disposed of entities.
kennedykori added a commit that referenced this pull request Mar 20, 2024
## [1.0.0-dev.1](...v1.0.0-dev.1) (2024-03-20)

### Features

* add `Config` interface ([#9](#9)) ([d70d082](d70d082))
* add common SGHI utilities and typings ([#3](#3)) ([d79769b](d79769b))
* add common utilities ([#6](#6)) ([1b620d5](1b620d5))
* add Disposable mixin and helpers ([#5](#5)) ([0ba9855](0ba9855))
* add instance check validators ([#10](#10)) ([71d87d3](71d87d3))
* add module loading utilities ([#7](#7)) ([573fe61](573fe61))
* add Task interface & its common implementations ([#8](#8)) ([513a22c](513a22c))
* add the `sghi.dispatch` module ([#11](#11)) ([b617c57](b617c57))
* add the `sghi.registry` module ([#12](#12)) ([f2d51bf](f2d51bf))

### Refactors

* add README and gitignore ([2e05fe7](2e05fe7))
* **build:** setup project ([#1](#1)) ([d53b486](d53b486))
kennedykori added a commit that referenced this pull request Mar 20, 2024
## [1.0.0](...v1.0.0) (2024-03-20)

### Features

* add `Config` interface ([#9](#9)) ([d70d082](d70d082))
* add common SGHI utilities and typings ([#3](#3)) ([d79769b](d79769b))
* add common utilities ([#6](#6)) ([1b620d5](1b620d5))
* add Disposable mixin and helpers ([#5](#5)) ([0ba9855](0ba9855))
* add instance check validators ([#10](#10)) ([71d87d3](71d87d3))
* add module loading utilities ([#7](#7)) ([573fe61](573fe61))
* add Task interface & its common implementations ([#8](#8)) ([513a22c](513a22c))
* add the `sghi.dispatch` module ([#11](#11)) ([b617c57](b617c57))
* add the `sghi.registry` module ([#12](#12)) ([f2d51bf](f2d51bf))

### Refactors

* add README and gitignore ([2e05fe7](2e05fe7))
* **build:** setup project ([#1](#1)) ([d53b486](d53b486))
@kennedykori
Copy link
Contributor Author

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants