提供者(Provider)

fun interface Provider : Instruction

A function that produces the instruction Content at turn time, given a ReadonlyContext.

Returning null indicates "no instruction this turn".

函数

Link copied to clipboard
abstract suspend fun provide(context: ReadonlyContext): Content?