CommonJVMNative

Finalization hook

Run a "hook" lambda after a block of code regardless of whether the block succeeds, fails, or the application is killed

Add to your project
implementation("com.jakewharton.finalization:finalization-hook:0.1.0")
Parent project

Runs a "hook" lambda after a code block, regardless of success, failure, or application termination. Useful for operations affecting external systems, like file locks.

Version history
Package version Release date Platforms
0.1.0 3 months ago Common, JVM, Native
More versions will be indexed soon
Metadata
Version 3 months ago

0.1.0

  • Kotlin 2.0.20
  • Gradle 8.9
Supported targets
JVM:
  • 1.8
Linux:
  • linux_arm64
  • linux_x64
Windows:
  • mingw_x64
macOS:
  • macos_arm64
  • macos_x64
Developers