Skip to content

Commit

Permalink
Merge pull request #118 from c0nstexpr/patch-1
Browse files Browse the repository at this point in the history
Add function annotation to MCCoroutineExceptionEvent
  • Loading branch information
Shynixn committed Jul 5, 2024
2 parents b6b1fbb + eccc362 commit 17e56f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import net.fabricmc.fabric.api.event.EventFactory
* A Fabric event which is called when an exception is raised in one of the coroutines managed by MCCoroutine.
* Cancelling this exception causes the error to not get logged and offers to possibility for custom logging.
*/
@FunctionalInterface
interface MCCoroutineExceptionEvent {
companion object {
val EVENT: Event<MCCoroutineExceptionEvent> =
Expand Down

0 comments on commit 17e56f3

Please sign in to comment.