Cadence 0.0.34
Fix Gathered Loops
Create a zero arity callback on the calling frame before invoking the return of a gathered, looping sub-cadence. If the gathered, looping sub-cadence is the final callback for the caller, then the explicit return will invoke the next step with the scalar return value. The internal callback holds onto the caller's frame so that we can rewrite the callback results, then return the arrayed results to the next step.
Source Tidy
Tidy source code including structural changes to the internal callback that has a different signature than the standard error first callback. First, I renamed the internal callback to denouement. Second, instead of passing the results as flattened arguments to the internal callback, the denouement, the results are passed around as an array of results.
The rest of the source tidy is bits of dead code, naming and some indentation. Notably, I renamed invocation to frame.
Issue by Issue
- Release version 0.0.34. #187.
- Pass
frametocreateHandler. #186. - Gathered loops returning before updating callback results. #185.
- Pass results as array to denouement. #184.
- Move change log to GitHub Releases. #183.
- Rename
mastertoinvocation. #182. - Tidy. #181.
- Rename
cbtocallbackininvoke. #179. - Rename
invocationtoframe. #178. - Rename
asynctostep. #177. - Rename
callbacktodenouement. #176. - Add repository type to
package.json#175. - Upgrade Proof to 0.0.41. #166.