How does @inline actually work?

am i supposed to put it in .res or .ressi files, or both?

putting it in X.res makes function calls inside X.res inlined (can tell in X.res.js), but other modules using X do not seem to inline the calls. putting it in X.resi does nothing anywhere.

is this as expected?