This crate defines a trait that implementations of flow 'functions' must implement in order for them to be invoked by the flowrlib (or other) runtime library.
Also, in the flowimplderive subdirectory a Derive macro
called FlowImpl
is defined and implemented.
This should be used on the structure that implements the
function, in order that when compiled for the wasm32
target code is inserted to allocate memory (alloc
) and
to serialize and deserialize the data passed across the
native/wasm boundary.