[android-components](../../../index.md) / [mozilla.components.browser.thumbnails](../../index.md) / [ThumbnailsUseCases](../index.md) / [LoadThumbnailUseCase](index.md) / [invoke](./invoke.md)

# invoke

`operator suspend fun invoke(sessionIdOrUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): <ERROR CLASS>?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/thumbnails/src/main/java/mozilla/components/browser/thumbnails/ThumbnailsUseCases.kt#L33)

Loads the thumbnail of a tab from its in-memory [ContentState](#) or from the disk cache
of [ThumbnailStorage](../../../mozilla.components.browser.thumbnails.storage/-thumbnail-storage/index.md).

