Closed germangb closed 4 years ago
The TimedCache doesn't work in wasm builds due std::time::Instant not being supported
TimedCache
std::time::Instant
The instant crate adds support for both stdweb and wasm-bindgen (I've only tried with the later).
instant
stdweb
wasm-bindgen
In non-wasm builds the crate is a pass-through to std::time
std::time
The
TimedCache
doesn't work in wasm builds duestd::time::Instant
not being supportedThe
instant
crate adds support for bothstdweb
andwasm-bindgen
(I've only tried with the later).In non-wasm builds the crate is a pass-through to
std::time