Metadata-Version: 2.1
Name: robotframework-async-keyword
Version: 1.1.7
Summary: Generic Robot Framework library for asynchronous keyword execution
Author-email: René Lehfeld <54720674+rlehfeld@users.noreply.github.com>
License: MIT
Project-URL: Homepage, https://github.com/rlehfeld/robotframework-async-keyword
Project-URL: Bug Reports, https://github.com/rlehfeld/robotframework-async-keyword/issues
Project-URL: Source, https://github.com/rlehfeld/robotframework-async-keyword/
Keywords: async,robotframework
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Obsoletes: robotframework_async
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE.txt

Robot Framework AsyncLibrary
============================
Generic Robot Framework library for asynchronous keyword execution

Installation
============
Install the latest release via PyPi using pip:

::

    pip install robotframework-async-keyword

Or add to your ``conda.yaml`` file:

::

    - pip:
        - robotframework-async-keyword


In oder to help with development you can directly install from GitHub via:

::

    pip install git+https://github.com/rlehfeld/robotframework-async-keyword.git

Or add to your ``conda.yaml`` file:

::

    - pip:
        - git+https://github.com/rlehfeld/robotframework-async-keyword.git


Usage
=====

#) Import into a test suite with:

   .. code:: robotframework

      Library AsyncLibrary

#) To run a keyword asynchronously:

   .. code:: robotframework

      ${handle}    Async Run    some keyword    first argument    second argument

#) To retrieve the return value, a blocking call to ``Async Get`` is called with the handle:

   .. code:: robotframework

      ${return_value}    Async Get    ${handle}

#) To wait with a timeout use

   .. code:: robotframework

      ${return_value}    Async Get    ${handle}    timeout=5 sec
