title: How to create an extension for compose functions without using @Composable annotation?
body: <h2>Problem Description</h2>
  <p>I'm creating an abstraction for my compose functions that use my custom view:</p>
  <pre><code>@Composable
  fun DisposeBanner(bannerView: BannerView) {
      DisposableEffect(key1 = true) {
          onDispose {
              bannerView.destroyAd()
          }
      }
  }
  </code></pre>
  <p>However, as this function doesn't actually render any components I didn't want it to stick with the @Composable markup, but rather to indicate that it can only be used in compose functions through an extension.</p>
  <h2>My failed attempt</h2>
  <p>When trying to do:</p>
  <pre><code>fun Composable.disposeBanner(bannerView: BannerView) {
      DisposableEffect(key1 = true) {
          onDispose {
              bannerView.destroyAd()
          }
      }
  }
  </code></pre>
  <p>I get an error saying: <em>&quot;@Composable invocations can only happen from the context of a @Composable function&quot;</em></p>
  <p>Is it possible to do what I want?</p>