Module send

Module send 

Source
Expand description

This module provides utilities for working with JavaScript types which do not implement Send, in contexts where Send is required. Workers is guaranteed to be single-threaded, so it is safe to wrap any type with Send and Sync traits.

Structs§

SendFuture
Wrap any future to make it Send.
SendWrapper
Wrap any type to make it Send.

Traits§

IntoSendFuture
Trait for SendFuture. Implemented for any type that implements Future.