Side effects

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.50 is the most recent stable version of Flux.

Note: This document is a living document and may not represent the current implementation of Flux.

Side effects can occur in one of two ways.

  1. By reassigning built-in options
  2. By calling a function that produces side effects

A function produces side effects when it is explicitly declared to have side effects or when it calls a function that itself produces side effects.