[refactor] Use `fusing` to add the `emits` functionality on the Spark
Merge pull request #327 from primus/code-reuse

Use `fusing` to add the `emits` functionality on the Spark