Registry / Library

library · v0.1.1
Session Count
Count activity sessions in a sorted event timeline. A gap strictly greater than the timeout starts a new session.
Use Session Count
use vendor::session_count::session_count;
Run the example
nest demo session_count@0.1.1
blyxc native-run session_count-demo/main.blyx
Example source and expected output
use vendor::session_count::session_count;
fn main() {
println!(session_count([1,4,8,20],4.0));
}
Expected output
2
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | 1bd26b8348 | 83ad856a2584ba469314c9d3bd88646e0cc111c17ac14df682c265edf4aba6c0 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | 073076b881a7ffc902b943e34427bf727d0543a6abf8ccbe9dcda6aebe7da40a |