How to use SideEffect

I cannot find any example of the usage of SideEffect with typescript sdk.
Is this deprecated? SideEffect concept and its examples are easy to find in other languages.

TypeScript, along with other Rust Core based SDKs (e.g. Python and .NET) do not implement SideEffect.

Use a local activity which is a superset of SideEffect.