vibe.d beta banner
get vibe.d
0.7.30

Struct Future

Represents a values that will be computed asynchronously.

This type uses alias this to enable transparent access to the result value.

Template arguments

struct Future(T);

Fields

Name Type Description
m_result FreeListRef!(shared(T))
m_task Task

Properties

Name Type Description
ready [get] bool Checks if the values was fully computed.

Methods

Name Description
getResult Returns the computed value.
init
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License