# Module cloudi_service_future

- Description
- Data Types
- Function Index
- Function Details

### CloudI Service Futures

.

Copyright © 2015-2020 Michael Truog

Version: 1.8.1 Dec 3 2021 17:15:33 ------------------------------------------------------------------------

Authors: Michael Truog (`mjtruog at protonmail dot com`).

## Description

### CloudI Service Futures

## Data Types

### value()

`value() = fun(() -> {ok, cloudi_service:response_info(), cloudi_service:response()} | {ok, cloudi_service:response()} | {error, cloudi_service:error_reason()})`

## Function Index

new/3 | #### Create a future. .
new/4 | #### Create a future. .
new/5 | #### Create a future. .
new/6 | #### Create a future. .
new/7 | #### Create a future. .

## Function Details

### new/3

`new(Dispatcher::cloudi_service:dispatcher(), Name::cloudi_service:service_name(), Request::cloudi_service:request()) -> value()`

#### Create a future.

### new/4

`new(Dispatcher::cloudi_service:dispatcher(), Name::cloudi_service:service_name(), Request::cloudi_service:request(), Timeout::cloudi_service:timeout_milliseconds()) -> value()`

#### Create a future.

### new/5

`new(Dispatcher::cloudi_service:dispatcher(), Name::cloudi_service:service_name(), Request::cloudi_service:request(), Timeout::cloudi_service:timeout_milliseconds(), PatternPid::cloudi_service:pattern_pid()) -> value()`

#### Create a future.

### new/6

`new(Dispatcher::cloudi_service:dispatcher(), Name::cloudi_service:service_name(), RequestInfo::cloudi_service:request_info(), Request::cloudi_service:request(), Timeout::cloudi_service:timeout_milliseconds(), Priority::cloudi_service:priority()) -> value()`

#### Create a future.

### new/7

`new(Dispatcher::cloudi_service:dispatcher(), Name::cloudi_service:service_name(), RequestInfo::cloudi_service:request_info(), Request::cloudi_service:request(), Timeout::cloudi_service:timeout_milliseconds(), Priority::cloudi_service:priority(), PatternPid::cloudi_service:pattern_pid() | undefined) -> value()`

#### Create a future.

Generated by EDoc