aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/me/bush/eventbuskotlin/CancelledState.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/me/bush/eventbuskotlin/CancelledState.kt')
-rw-r--r--src/main/kotlin/me/bush/eventbuskotlin/CancelledState.kt6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/kotlin/me/bush/eventbuskotlin/CancelledState.kt b/src/main/kotlin/me/bush/eventbuskotlin/CancelledState.kt
index 861b9fd..a0e01c0 100644
--- a/src/main/kotlin/me/bush/eventbuskotlin/CancelledState.kt
+++ b/src/main/kotlin/me/bush/eventbuskotlin/CancelledState.kt
@@ -14,8 +14,6 @@ import kotlin.reflect.typeOf
/**
* A simple SAM interface for determining if an event (or any class) is cancellable.
*
- * [Information and examples](https://github.com/therealbush/eventbus-kotlin#tododothething)
- *
* @author bush
* @since 1.0.0
*/
@@ -25,8 +23,6 @@ internal fun interface CancelledState {
* [event] should only ever be of the type that was passed
* to [CancelledState.invoke], **or this will throw.**
*
- * [Information and examples](https://github.com/therealbush/eventbus-kotlin#tododothething)
- *
* @return `true` if [event] is cancelled, `false` otherwise.
*/
fun isCancelled(event: Any): Boolean
@@ -43,8 +39,6 @@ internal fun interface CancelledState {
/**
* Creates a [CancelledState] object for events of class [type].
- *
- * [Information and examples](https://github.com/therealbush/eventbus-kotlin#tododothething)
*/
operator fun invoke(type: KClass<*>, config: Config): CancelledState = CACHE.getOrPut(type) {
// Default implementation for our event class.