JakeWharton / JakeWharton/finalization-hook

Create imperative / `AutoClosable` version

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
76
Forks
0
Avg merge
19h 40m
Merged PRs (30d)
13

Description

Basically a version without the `block` part, that instead returns an `AutoClosable`. Also perhaps supports attaching to a `CoroutineScope`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing block-based hook API and the project documentation to understand its lifecycle and coroutine behavior. Define the imperative AutoClosable API and clarify whether CoroutineScope support is part of the required change; done means the new usage is documented and covered by tests for normal completion, failure, and application shutdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.