Skip to content

Conversation

halotukozak
Copy link
Member

Summary of Changes

  • Refactored lifecycle components to enhance initialization and disposal handling.
  • Introduced new lifecycle component traits and corresponding tests to ensure reliability.

Checklist

  • Tests have been added or updated (if applicable).
  • Documentation has been updated (if applicable).

@halotukozak halotukozak self-assigned this Sep 24, 2025
@halotukozak
Copy link
Member Author

I am not stick to the names of the traits

case NonFatal(cause) =>
throw ComponentInitializationException(this, cause)
}
}.asInstanceOf[Future[T]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simple .flatMap { value => value match { with mappings to value allows to avoid casting here.

@halotukozak halotukozak requested a review from sebaciv October 6, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants