exportWith

abstract fun exportWith(exporter: Exporter<T, P>, block: ExporterContext<T, P>.() -> Unit)

Registers an Exporter and configures which it.unibo.alchemist.boundary.Extractor instances it should use.

The block is executed with an ExporterContext receiver, typically allowing extractors to be collected via unary-minus notation and then bound to the exporter.

Parameters

exporter

the exporter to register.

block

the exporter configuration block.