The type of the argument for the commit call. Currently empty.
The type of the return value of the commit call.
If the transaction has been rejected, this property will be filled with the RejectEffect instance
A constant which will be used a commit result, when graph is not available.
Generated using TypeDoc
Type, that represent the return value of the generator-based identifier's calculation function. The
Result
argument corresponds to the type of the value being computed.For example:
class Author extends Entity.mix(Base) { @field() firstName : string @field() lastName : string @field() fullName : string @calculate('fullName') * calculateFullName () : ChronoIterator<string> { return (yield this.$.firstName) + ' ' + (yield this.$.lastName) } }