How can we use method with callPromise applyOption not to retry
applyOptions: {
noRetry: true, // <-- Tell Meteor not to retry
},
this is method on server
export const journal = new ValidatedMethod({
name: 'app.journa',
mixins: [CallPromiseMixin],
applyOptions: {
noRetry: true, // <-- Tell Meteor not to retry
},
validate: null,
async run() {
// code here
}
})
this is client call
journal.callPromise()
.then(res => {
console.log('res', res)
}).catch(err => {
console.log('err', err)
})
},
notRetry working with callPromise or Meteor.apply
How can we use method with callPromise applyOption not to retry
this is method on server
this is client call
notRetry working with callPromise or Meteor.apply