Constructors
constructor
- new Process(system: System, func: Function, args: any[]): Process
-
Parameters
-
system: System
-
func: Function
-
args: any[]
Properties
flags
flags: Map<symbol, any>
Methods
is_trapping_exits
- is_trapping_exits(): boolean
main
- main(): IterableIterator<any>
-
Returns IterableIterator<any>
process_flag
- process_flag(flag: symbol, value: any): any
receive
- receive(fun: Function): symbol
-
Parameters
Returns symbol
run
- run(machine: Generator, step: any): void
-
Parameters
-
machine: Generator
-
step: any
Returns void
signal
- signal(reason: any): void
A Process. Represents the basic atomic level of concurrency in the system