Simple copy/paste doesn’t work. I created complex logic in one service, but now I think it’s better to move part of the logic to a separate function. I don’t see how to do that.
Functions is the best way to reuse logic between APi services, handlers and timers.
Yes, but how to move/copy some logic to new function if I already created big logic blocks in service? I just don’t want to start from scratch.
Right-click the block you want to copy and select Copy
or Copy Tree
. The latter lets you copy the block and everything attached to it below.
To paste, use the “paste” shortcut for your operating system.
Uh… Sorry. That works. There is just no ‘Paste’ under right click, so I decided copy does not exist here) Thanks.