We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

single_assignment::value Method

Gets a reference to the current payload of the message being stored in the single_assignment messaging block.

_Type const & value();

The payload of the stored message.

This method will wait until a message arrives if no message is currently stored in the single_assignment messaging block.

Header: agents.h

Namespace: Concurrency

Show: