fetchlet 0.1.1

Rust-hosted JavaScript functions and Fetch handlers with explicit host services
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod handle;
mod held;
mod lifecycle;
mod options;
mod protocol;
mod state;

// Only an engine runs the worker thread; the handle and its options are
// engine-independent so HTTP integrations can depend on them alone.
#[cfg(any(feature = "boa", feature = "quickjs", feature = "v8"))]
mod runtime;
#[cfg(any(feature = "boa", feature = "quickjs", feature = "v8"))]
mod streaming;

pub use handle::AppHandle;
pub use held::HeldConnection;
pub use options::{CancelledCalls, Instances, WorkerOptions};
pub use state::PoolState;