from wolfram:
class User{ constructor( recordName ) { this.record = ds.record.getRecord( recordName ); this.record.subscribe( this._processUpdate.bind( this ) ); }
_processUpdate( data ) { if( this.record.name === ‘…’) { // do stuff } } }textpattern blog for Marks Notes
Mar 27, 04:37 AM
from wolfram:
class User{ constructor( recordName ) { this.record = ds.record.getRecord( recordName ); this.record.subscribe( this._processUpdate.bind( this ) ); }
_processUpdate( data ) { if( this.record.name === ‘…’) { // do stuff } } }Commenting is closed for this article.
« promises including async-2-sync conversion CRUD platforms to consider »