Will the code on the server function normally if I send the lambda over the IPC channel as a delegate, while the code in the lambda may change depending on the execution time?

What is meant by change during runtime: so this is what this lambda will have to manage unmanaged resources, i.e. their allocation, and removal in particular.

  • And what exactly do you see the problem? - Andrey NOP
  • As I think, the transferred lambda with captured values ​​will not work on the server side. - LLENN
  • well, it is necessary to transfer either a fragment ready for execution, which already contains everything in itself, or to transfer something from which this fragment can be collected on that side (like an expression / tree of expressions) - Andrey NOP

0