Specification for the creation of a worker type
A type to encapsulate all the functions that can be run on this worker. Using a record type here is often the most convenient and readable
init init_arg will be called in a worker when it is spawned
init init_arg