Skip to content

Implement AutoClosable #335

@sschuberth

Description

@sschuberth

In order to leverage Kotlin's use function, it would be nice for the different cache classes / interfaces to implement the AutoClosable interface. However, a problem is that the close() function signatures clash:

AutoClosable requires fun close() whereas e.g. ContainerKache has public suspend fun close().

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions