WriterChannel

inner class WriterChannel<T> : LogChannel<T>

A LogChannel bound to one FateLogWriter. Writes to it go to that writer.

Parameters

T

The type of objects written to this channel

name

The unique name of this channel

schema

The schema that encodes objects for this channel

Properties

Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val schema: FateSchema<T>
Link copied to clipboard

The FateLogWriter that owns this channel.

Functions

Link copied to clipboard
open override fun put(obj: T)

Writes an object to this channel, the same as FateLogWriter.write with this channel.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun write(obj: T)

Alias for put.