Skip to contents

Keeps whichever of the two inputs fired most recently. Must be called from within a module server function (it registers observers on that scope).

Usage

latest_image_input(input, id)

Arguments

input

The module's input object.

id

The same id prefix passed to image_input_ui().

Value

A reactive returning a magick image, or NULL before any input.