Prevents scalac
discarding the result of a map function when the final result is Callback
.
Prevents scalac
discarding the result of a map function when the final result is Callback
.
See https://github.com/japgolly/scalajs-react/issues/256
0.11.0
Callback that is recreated each time it is used.
Callback that is recreated each time it is used.
https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_name
Wraps a Future so that it is repeatable, and so that its inner callback is run when the future completes.
Wraps a Future so that it is repeatable, and so that its inner callback is run when the future completes.
WARNING: Futures are scheduled to run as soon as they're created. Ensure that the argument you provide creates a new Future; don't reference an existing one.
Callback that isn't created until the first time it is used, after which it is reused.
Tail-recursive callback.
Tail-recursive callback. Uses constant stack space.
Based on Phil Freeman's work on stack safety in PureScript, described in Stack Safety for Free.
Serves as a temporary placeholder for a callback until you supply a real implementation.
Serves as a temporary placeholder for a callback until you supply a real implementation.
Unlike ???
this doesn't crash, it just prints a warning to the console.
Also it's not really deprecated; that's just so you get a compiler warning as a reminder.
(Since version not really deprecated)
Serves as a temporary placeholder for a callback until you supply a real implementation.
Serves as a temporary placeholder for a callback until you supply a real implementation.
Unlike ???
this doesn't crash, it just prints a warning to the console.
Also it's not really deprecated; that's just so you get a compiler warning as a reminder.
(Since version not really deprecated)