mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00

anonymous-functions, their closures, can now be sent over broker. In order to send an anonymous function the receiver must have parsed a definition of the functon, but it need not to have been evaluated. See testing/btest/language/closure-sending.zeek for an example of how this can be done. This also sends their closures as well as the closures of regular functions.
4 lines
266 B
Text
4 lines
266 B
Text
warning: failed to convert remote event 'ping' arg #1, got vector, expected func
|
|
warning: when sending functions the receiver must have access to a version of that function.
|
|
For anonymous functions, that function must have the same body.
|
|
received termination signal
|