Registry / Framework

framework · v0.1.0
Turnstone
Resume a chunked file job from acknowledged checkpoints.
Use Turnstone
use vendor::turnstone::turnstone;
Run the example
nest demo turnstone@0.1.0
blyxc native-run turnstone-demo/main.blyx
Example source and expected output
use vendor::turnstone::turnstone;
fn main() {
let size = 10.0;
let width = 4.0;
let checkpoints = [0, 0, 1];
let result = turnstone_resume(size, width, checkpoints);
if len(result) == 0 { println!("invalid"); return; }
let mut i = 0;
while i < len(result) {
println!(at(result, i));
i += 1;
}
}
Expected output
8
2
1
1
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.0 | Download ZIP | bb5e14660a | 42b45a438ea5bd53cced130468ac38564310ca71e57df5323a64eb08a7daea9f |