Crate task_simple

source ·
Expand description

This is a basic implementation of a task which can be used but with Standard (Linux,Windows, MacOs) and Wasm (Web). A task means here a function which can be run in the background (Standard:Thread, Wasm: WebWorker).

Structs§

  • This is a single task
  • Task Pool which can run several jobs in parallel.
  • Each enqueue job yields a ticket which can be used to check if a job is done.

Enums§

  • This is the current state of a job.

Traits§

  • This trait abstracts a function, which can be run independently