aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/me/bush/eventbuskotlin/CancelledState.kt
diff options
context:
space:
mode:
authortherealbush <therealbush@users.noreply.github.com>2022-04-23 15:32:41 -0700
committertherealbush <therealbush@users.noreply.github.com>2022-04-23 15:32:41 -0700
commitadc29fb685307385cfa9ebb813ad2bfb18bb7776 (patch)
tree59b27215bb4c0db457f321d030fef9ba0c55b7fc /src/main/kotlin/me/bush/eventbuskotlin/CancelledState.kt
parentc12696bd528e891b9da126d3b92f3db089b4b6e6 (diff)
downloadeventbus-kotlin-adc29fb685307385cfa9ebb813ad2bfb18bb7776.tar.gz
eventbus-kotlin-adc29fb685307385cfa9ebb813ad2bfb18bb7776.tar.bz2
eventbus-kotlin-adc29fb685307385cfa9ebb813ad2bfb18bb7776.zip
updated links
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.