Gimp.PlugIn.prototype.extension_process

function extension_process(timeout: Number(guint)): void {
    // Gjs wrapper for gimp_plug_in_extension_process()
}
  

Processes one message sent by GIMP and returns.

Call this function in an endless loop after calling Gimp.Procedure.prototype.extension_ready to process requests for running temporary procedures.

See [method@PlugIn.extension_enable] for an asynchronous way of doing the same if running an endless loop is not an option.

See also: [method@PlugIn.add_temp_procedure].

Since 3.0

timeout

The timeout (in ms) to use for the select() call.