from the release notes > SuiteScript 2.1 now fu...
# releases
s
from the release notes
SuiteScript 2.1 now fully supports non-blocking asynchronous server-side promises. Server-side promises
are expressed using the asnyc, await, and promise keywords.
Ummm, I've never heard of a JS keyword "promise" - is that just a typo or can someone confirm
promise
is a JS keyword?
But that can't be what they mean. I've not delved into 2.1, so I'll shut up 🙂
d
other than the 21.1 Release Notes PDF, you could check this out as well: https://netsuite.custhelp.com/app/answers/detail/a_id/97688 (around 4min mark)
s
I'm asking specifically about
promise
as a JS keyword? Not asking about
Promise
objects
thanks for the video link @dbarnett!
d
yeah I think they just forgot to capitalize there. I'd be more concerned with their
asnyc
keyword 😂 maybe it's when your server is based in New York
s
lol I didn't even notice that. If they can't spell
async
then surely
promise
is also a typo. Even so, they shouldn't talk about
keyword
unless they mean actual JS language defined keywords.
They should have mentioned the Promise global or something. Apparently the person writing the release notes isn't very technical.
cool to see the presenter in that video using Webstorm 🙂