Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adaptorInfo and tiddlerInfo is only for TiddlyWeb? #3938

Closed
linonetwo opened this issue May 1, 2019 · 1 comment
Closed

adaptorInfo and tiddlerInfo is only for TiddlyWeb? #3938

linonetwo opened this issue May 1, 2019 · 1 comment

Comments

@linonetwo
Copy link
Contributor

this.syncadaptor.saveTiddler(tiddler,function(err,adaptorInfo,revision) {
if(err) {
return callback(err);
}
// Adjust the info stored about this tiddler
self.tiddlerInfo[task.title] = {
changeCount: changeCount,
adaptorInfo: adaptorInfo,
revision: revision
};
// Invoke the callback
callback(null);
},{
tiddlerInfo: self.tiddlerInfo[task.title]
});

How can I use these fields?

@Jermolene
Copy link
Owner

Hi @linonetwo tiddlerInfo is the state information stored by the syncer for each tiddler. It includes the adaptorInfo property which contains whatever the adaptor needs to store as state for each tiddler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants