Gio.DBusMessage.prototype.lock

function lock(): void {
    // Gjs wrapper for g_dbus_message_lock()
}
  

If message is locked, does nothing. Otherwise locks the message.

Since 2.26