Blyx Nest Blyx language
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.

Source repository · Package JSON

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

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse files1bd26b834883ad856a2584ba469314c9d3bd88646e0cc111c17ac14df682c265edf4aba6c0
0.1.0Download ZIP · Browse files6349f23784073076b881a7ffc902b943e34427bf727d0543a6abf8ccbe9dcda6aebe7da40a