# Can I use multiple runtime modules like Typescript and go in the same project?

**URL:** <https://forum.heroiclabs.com/t/can-i-use-multiple-runtime-modules-like-typescript-and-go-in-the-same-project/4446>\
**Category:** Runtime Framework\
**Tags:** server-framework, typescript, golang\
**Created:** [October 10, 2023, 11:09am UTC](https://forum.heroiclabs.com/t/can-i-use-multiple-runtime-modules-like-typescript-and-go-in-the-same-project/4446 "2023-10-10T11:09:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Anup30giri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/anup30giri/32/1797_2.png) [@Anup30giri](https://forum.heroiclabs.com/u/Anup30giri)\
**Post date:** [October 10, 2023, 4:55pm UTC](https://forum.heroiclabs.com/t/can-i-use-multiple-runtime-modules-like-typescript-and-go-in-the-same-project/4446/5 "2023-10-10T16:55:43Z")

</div>

Does the below code address the handling of player disconnects, such as in cases of internet disconnection or when a player closes the game?

```auto
func eventSessionEnd(ctx context.Context, logger runtime.Logger, evt *api.Event) {
	logger.Debug("process event session end: %+v", evt)
}

// noinspection GoUnusedExportedFunction
func InitModule(ctx context.Context, logger runtime.Logger, db *sql.DB, nk runtime.NakamaModule, initializer runtime.Initializer) error {
	if err := initializer.RegisterEventSessionEnd(eventSessionEnd); err != nil {
		return err
	}
	logger.Info("Go modules loaded.")
	return nil
}

```

---

_[View the full topic](https://forum.heroiclabs.com/t/can-i-use-multiple-runtime-modules-like-typescript-and-go-in-the-same-project/4446)._
