register

fun <E : Effect> register(effectClass: KClass<E>, handler: EffectHandler<E>)