You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
349 B
Kotlin
9 lines
349 B
Kotlin
4 years ago
|
package me.eater.hefbrug.collector
|
||
|
|
||
|
import me.eater.hefbrug.definition.DefinitionWildcard
|
||
|
import me.eater.hefbrug.executor.ExecutionContext
|
||
|
import me.eater.hefbrug.state.AbstractState
|
||
|
|
||
|
abstract class AbstractCollector<S : AbstractState, D : DefinitionWildcard<S>>(val context: ExecutionContext) {
|
||
|
abstract suspend fun collect(definition: D): S
|
||
|
}
|