Skip to content

Generation of code for functions with timeout in method signatures #508

Description

@pavelkaryukov

Is it possible to generate functions with a "timeout" argument? Please provide an example of an XML file.

Activity

  1. pavelkaryukov commented on Oct 8, 2025

    @pavelkaryukov
    Author

    function example

        std::string SetConfig(const std::string& mml, std::uint64_t timeout)
        {
            using namespace std::chrono_literals;
            std::string result;   
     m_proxy.callMethod("SetConfig").onInterface(INTERFACE_NAME).withTimeout(timeout).withArguments(mml).storeResultsTo(result);
            return result;
        }
    
  2. locked and limited conversation to collaborators on Oct 10, 2025
  3. converted this issue into a discussion #509 on Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions