EsHiredisStaticFutureCallEngine
Description
A concrete implementation of <EsHiredisCallEngine> that performs asynchronous (non-blocking) FFI calls. It uses a dedicated background thread and an AcoStaticFuture to execute the native C function without blocking the active Smalltalk process.
This engine is the foundation for the asynchronous capabilities of the <EsRedisClient>, enabling high-performance, non-blocking I/O.
Class Methods
None
Instance Methods
call:
Execute a 0-argument platform function on the dedicated background thread.
This method blocks until the asynchronous operation completes.
Arguments:
aPlatformFunction - <PlatformFunction> The function to execute.
Answers:
<Object> The result of the platform function call.
Raises:
<Error> If the asynchronous call results in an AcoError.
call:with:
Execute a 1-argument platform function on the dedicated background thread.
This method blocks until the asynchronous operation completes.
Arguments:
aPlatformFunction - <PlatformFunction> The function to execute.
arg1 - <Object> The argument for the function.
Answers:
<Object> The result of the platform function call.
Raises:
<Error> If the asynchronous call results in an AcoError.
call:with:with:
Execute a 2-argument platform function on the dedicated background thread.
This method blocks until the asynchronous operation completes.
Arguments:
aPlatformFunction - <PlatformFunction> The function to execute.
arg1 - <Object> The first argument for the function.
arg2 - <Object> The second argument for the function.
Answers:
<Object> The result of the platform function call.
Raises:
<Error> If the asynchronous call results in an AcoError.
call:with:with:with:
Execute a 3-argument platform function on the dedicated background thread.
This method blocks until the asynchronous operation completes.
Arguments:
aPlatformFunction - <PlatformFunction> The function to execute.
arg1 - <Object> The first argument for the function.
arg2 - <Object> The second argument for the function.
arg3 - <Object> The third argument for the function.
Answers:
<Object> The result of the platform function call.
Raises:
<Error> If the asynchronous call results in an AcoError.
call:with:with:with:with:
Execute a 4-argument platform function on the dedicated background thread.
This method blocks until the asynchronous operation completes.
Arguments:
aPlatformFunction - <PlatformFunction> The function to execute.
arg1 - <Object> The first argument for the function.
arg2 - <Object> The second argument for the function.
arg3 - <Object> The third argument for the function.
arg4 - <Object> The fourth argument for the function.
Answers:
<Object> The result of the platform function call.
Raises:
<Error> If the asynchronous call results in an AcoError.
Last modified date: 01/22/2026