Cached process lookups with lunatic.
When a process is lookup, it is cached in the local process to avoid unnecessery future lookups. This is useful for globally registered processes and abstract processes.
Example
use ;
use ;
cached_process!
let process = spawn_link!;
process.register;
let lookup: = COUNTER_PROCESS.get; // First call lookup process from host
assert!;
let lookup: = COUNTER_PROCESS.get; // Subsequent calls will use cached process
assert!;
License
Licensed under either
at your option.