View Source Evision.AsyncArray (Evision v0.1.9)

Link to this section Summary

cv

Python prototype (for reference):

##### Return

Positional Arguments
  • timeoutNs: double.

Positional Arguments
  • timeoutNs: double.

Python prototype (for reference):

Python prototype (for reference):

Positional Arguments
  • timeoutNs: double

Python prototype (for reference):

Functions

Raising version of asyncArray/0.

Raising version of get/1.

Raising version of get/2.

Raising version of get/3.

Raising version of release/1.

Raising version of valid/1.

Link to this section cv

Python prototype (for reference):

AsyncArray() -> <AsyncArray object>

##### Return

Fetch the result.

Waits for result until container has valid result. Throws exception if exception was stored as a result. Throws exception on invalid container state. Note: Result or stored exception can be fetched only once.

Python prototype (for reference):

get([, dst]) -> dst
Positional Arguments
  • timeoutNs: double.

    timeout in nanoseconds, -1 for infinite wait

Return

Retrieving the result with timeout

@returns true if result is ready, false if the timeout has expired Note: Result or stored exception can be fetched only once.

Python prototype (for reference):

get(timeoutNs[, dst]) -> retval, dst
Link to this function

get(self, timeoutNs, opts)

View Source
Positional Arguments
  • timeoutNs: double.

    timeout in nanoseconds, -1 for infinite wait

Return

Retrieving the result with timeout

@returns true if result is ready, false if the timeout has expired Note: Result or stored exception can be fetched only once.

Python prototype (for reference):

get(timeoutNs[, dst]) -> retval, dst

Python prototype (for reference):

release() -> None

Python prototype (for reference):

valid() -> retval
Link to this function

wait_for(self, timeoutNs)

View Source
Positional Arguments
  • timeoutNs: double

Python prototype (for reference):

wait_for(timeoutNs) -> retval

Link to this section Functions

Raising version of asyncArray/0.

Raising version of get/1.

Raising version of get/2.

Link to this function

get!(self, timeoutNs, opts)

View Source

Raising version of get/3.

Raising version of release/1.

Raising version of valid/1.

Link to this function

wait_for!(self, timeoutNs)

View Source

Raising version of wait_for/2.