Logtalk reference manual
Built-in predicate: threaded_engine_fetch/1
Contents > Reference Manual > Built-in Predicates > threaded_engine_fetch/1

## threaded_engine_fetch/1

#### Description

    threaded_engine_fetch(Term)

Fetches a term from the engine term queue. Blocks until a term is available. Fails in not called from within an engine.

#### Template and modes

    threaded_engine_fetch(?term)

#### Errors

`(none)`

#### Examples

Fetch a term from the engine term queue:
  `threaded_engine_fetch(Term)`

#### See also

`threaded_engine_post/2`