Set PrivateData in a Function

Post Reply
Sunnyland
Member
Posts: 42
Joined: Mon Aug 19, 2013 1:34 am

Set PrivateData in a Function

Post by Sunnyland » Thu Aug 27, 2020 10:28 am

So I know how to set private data from within theJobArrived function but can I set private data in another function? I have tried to pass the job variable to the secondary function but this doesn't seem to work. Is it possible, if so what do I need to do?

dkelly
TOP CONTRIBUTOR
Posts: 657
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

Re: Set PrivateData in a Function

Post by dkelly » Mon Aug 31, 2020 7:15 pm

async job.setPrivateData( tag: String, value: String )

Post Reply