## mitosis [![Build Status](https://github.com/manishearth/mitosis/workflows/Tests/badge.svg)](https://github.com/Manishearth/mitosis/actions) [![Current Version](https://img.shields.io/crates/v/mitosis.svg)](https://crates.io/crates/mitosis) [![License: MIT/Apache-2.0](https://img.shields.io/crates/l/mitosis.svg)](#license) > "AWS Lambda for your local machine" > > -- [@jdm](https://github.com/jdm) This crate provides `mitosis::spawn()`, which is similar to `thread::spawn()` but will spawn a new process instead. ```rust fn main() { // Needs to be near the beginning of your program mitosis::init(); // some code let some_data = 5; mitosis::spawn(some_data, |data| { println!("hello from another process, your data is {}", data); }); } ```