write
Writes an object to the specified channel, stamped with the current timestamp.
If this writer has no channel with that name yet, it adds one first.
Parameters
The type of the object being written
The channel to write to
The object to write
Writes an object to the specified channel, stamped with timestamp.
Use this when the value was produced earlier than it is written, or when several writers must share one timestamp. Take it from the same clock for every write to a log, such as this writer's timestamp, because readers compare them.
Parameters
The type of the object being written
The channel to write to
The object to write
When the value was produced, in nanoseconds
Writes an object to a channel identified by name, inferring the schema from type instead of from obj's erased runtime class.
The reified write extension calls this. Call it directly if you already have a KType.
type only matters when it has type arguments, which the runtime class can't supply. Otherwise this uses FateSchema.schemaOfClass on obj.javaClass. A value whose static type is a supertype such as Any, Number or an interface therefore still gets its concrete schema.
Parameters
Throws
if the channel already exists and was created from a different parameterized type