Skip to content

`value` and async `set` work together

Compare
Choose a tag to compare
@justinbmeyer justinbmeyer released this 05 Jan 18:52
· 635 commits to master since this release

From #136, you can now use async setters like:

var Type = define.Constructor({
    prop: {
        value: 2,
        set: function(num, resolve){
            resolve( num * num );
        }
    }
});