Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
vreset!
vreset!
function
v1.7
clojure.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
pcalls
pmap
pvalues
seque
volatile!
volatile?
vswap!
View source on GitHub ↗
← volatile?
vswap! →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4