There are two types of spinner's based on the kind of program being run. When a spinner is bound to a function, it returns a method which when called runs the spinner in the background as it executes.