Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
ClojureScript
cljs.core
vreset!
vreset!
function
v1.7
cljs.core/vreset!
Available in:
BB
CLJ
CLJS
(
vreset!
[
vol
newval
]
)
Sets the value of volatile to newval without regard for the current value. Returns newval.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Concurrency › General
See Also
locking
volatile!
volatile?
vswap!
← volatile?
vswap! →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4