Lightweight ownership of resources across processes
Elixir
64
35 commits
updated Oct 21, 2025
Library that allows you to manage ownership of resources across processes.
A typical use case for this library is tracking resource ownership across processes in order to isolate access to resources in test suites. For example, the Mox library uses this module to track ownership of mocks across processes (in shared mode).
Add this to your mix.exs:
def deps do
[
{:nimble_ownership, "~> 0.1.0"}
]
end
All nimble libraries by Dashbit:
Copyright 2023 Dashbit
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Elixir
100.0%
Lightweight ownership of resources across processes
Elixir
64
35 commits
updated Oct 21, 2025
Library that allows you to manage ownership of resources across processes.
A typical use case for this library is tracking resource ownership across processes in order to isolate access to resources in test suites. For example, the Mox library uses this module to track ownership of mocks across processes (in shared mode).
Add this to your mix.exs:
def deps do
[
{:nimble_ownership, "~> 0.1.0"}
]
end
All nimble libraries by Dashbit:
Copyright 2023 Dashbit
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Elixir
100.0%