Skip to content

EventList

Types

t

A list of events, used to exchange fixtures.

See: EventList in the IOF XML 3.0 XSD

rescript
type t = {events: array<IofXml.IofEvent.t>}

Fields:

  • events: array&lt;IofXml.IofEvent.t&gt;

Values

parse

Parse an IOF XML 3.0 EventList document string into a typed structure.

rescript
let parse: string => result<t, string>

serializeEvent

rescript
let serializeEvent: IofXml.IofEvent.t => string

serialize

Serialize an EventList structure to an IOF XML 3.0 document string.

rescript
let serialize: t => string