Skip to content

Instantly share code, notes, and snippets.

View jbaylina's full-sized avatar

Jordi Baylina jbaylina

View GitHub Profile
@jbaylina
jbaylina / swarm_oracle.md
Last active December 8, 2015 20:46
Alternative SWARM contract proposal (ORACLE based)
@jbaylina
jbaylina / proposal
Last active August 29, 2015 14:17
ecma7 proposat change async/await by async/nowait
The main idea is to maintain all the logic of the async/await mechanism except that all calls to async functions are "await implicit". And if you want to get the promise of an async function call it with a nowait in front.
Example of code:
Actual way:
var myObj = {
getProp1: async function() {
if (this.prop1) return prop1;