attribute

fun <T : Any> attribute(name: String): Attribute<T>

构建一个 Attribute 实例。

val attribute = attribute<Foo>("foo")