I am using mostjs library and I am new to bucklescript, when a map function returns me
Js.t(< time : int; value : Dom.event >)
in a stamp from
let startLoop = Most.(
timestamp(start)
|> map((stamp) => {
// what to do here?
})
)
Is there anything I can do to use this object values or convert it? There is absolutely nothing in the docs about this scenario.