HandlerFunctionsKeys

HandlerFunctionsKeys

is an option for asynchronous operations that specifies the content of associations to which to apply handler functions.

Details

  • The following are typical settings for HandlerFunctionsKeys:
  • Automatictry to include only elements required by handler functions
    Allinclude all available elements
    {"key1","key2",}include particular keys
  • The keys available with particular tasks are listed under the functions that submit the tasks.

Examples

Basic Examples  (7)

Display the result of evaluation after the task is finished:

In[1]:=
Click for copyable input
Out[1]=

Print the complete Association available to a handler function:

In[1]:=
Click for copyable input
Out[1]=

Display the result of the Print evaluated in a subkernel:

In[1]:=
Click for copyable input
Out[1]=

Display a dialog when the message was generated:

In[1]:=
Click for copyable input
Out[1]=

Print the message generated by the subkernel:

In[1]:=
Click for copyable input
Out[1]=

Specify that the status code and content type are to be passed to any handler function:

In[1]:=
Click for copyable input
Out[1]=

Receive the body of the response as a string:

In[1]:=
Click for copyable input
Out[1]=

Receive the body of the response as a list of bytes:

In[2]:=
Click for copyable input
Out[2]=

Receive the body of the response as a ByteArray:

In[3]:=
Click for copyable input
Out[3]=

See Also

HandlerFunctions  URLSubmit  HTTPRequestData  SessionSubmit  LocalSubmit  CloudSubmit

Introduced in 2016
(11.0)